]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-23543.rs
Add 'src/tools/clippy/' from commit 'd2708873ef711ec8ab45df1e984ecf24a96cd369'
[rust.git] / src / test / ui / issues / issue-23543.rs
1 pub trait A: Copy {}
2
3 struct Foo;
4
5 pub trait D {
6     fn f<T>(self)
7         where T<Bogus = Foo>: A;
8         //~^ ERROR associated type bindings are not allowed here [E0229]
9 }
10
11 fn main() {}