]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-23543.rs
New upstream version 1.66.0+dfsg1
[rustc.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() {}