]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-85347.rs
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / 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() {}