fork/rust

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

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

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