]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-85347.rs
Add warning when whitespace is not skipped after an escaped newline.
[rust.git] / src / test / ui / suggestions / issue-85347.rs
1 #![allow(incomplete_features)]
2 #![feature(generic_associated_types)]
3 use std::ops::Deref;
4 trait Foo {
5     type Bar<'a>: Deref<Target = <Self>::Bar<Target = Self>>;
6     //~^ ERROR this associated type takes 1 lifetime argument but 0 lifetime arguments were supplied
7     //~| HELP add missing
8 }
9
10 fn main() {}