diff options
Diffstat (limited to 'tests/ui/resolve/issue-55673.rs')
-rw-r--r-- | tests/ui/resolve/issue-55673.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/resolve/issue-55673.rs b/tests/ui/resolve/issue-55673.rs new file mode 100644 index 000000000..0436bd397 --- /dev/null +++ b/tests/ui/resolve/issue-55673.rs @@ -0,0 +1,12 @@ +trait Foo { + type Bar; +} + +fn foo<T: Foo>() +where + T::Baa: std::fmt::Debug, + //~^ ERROR associated type `Baa` not found for `T` +{ +} + +fn main() {} |