diff options
Diffstat (limited to 'tests/ui/issues/issue-23544.rs')
-rw-r--r-- | tests/ui/issues/issue-23544.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-23544.rs b/tests/ui/issues/issue-23544.rs new file mode 100644 index 000000000..6ad00b2fb --- /dev/null +++ b/tests/ui/issues/issue-23544.rs @@ -0,0 +1,9 @@ +pub trait A: Copy {} + +pub trait D { + fn f<T>(self) + where T<Bogus = Self::AlsoBogus>: A; + //~^ ERROR associated type bindings are not allowed here [E0229] +} + +fn main() {} |