]> git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/issue-85347.rs
Merge tag 'debian/1.65.0+dfsg1-1_exp3' into debian/sid
[rustc.git] / src / test / ui / suggestions / issue-85347.rs
1 use std::ops::Deref;
2 trait Foo {
3 type Bar<'a>: Deref<Target = <Self>::Bar<Target = Self>>;
4 //~^ ERROR this associated type takes 1 lifetime argument but 0 lifetime arguments were supplied
5 //~| ERROR associated type bindings are not allowed here
6 //~| HELP add missing
7 }
8
9 fn main() {}