]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-23543.rs
Rollup merge of #106854 - steffahn:drop_linear_arc_rebased, r=Mark-Simulacrum
[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() {}