fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
243 B15 linesraw
1// run-rustfix
2// edition:2018
3
4trait WithType<T> {}
5trait WithRegion<'a> { }
6
7trait Foo { }
8
9impl<T> Foo for Vec<T>
10where
11    T: for<'a> WithType<&'a u32>
12//~^ ERROR `&` without an explicit lifetime name cannot be used here
13{ }
14
15fn main() {}