]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-23543.rs
Rollup merge of #106699 - eholk:await-chains-drop-tracking, r=wesleywiser
[rust.git] / tests / 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() {}