fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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() {}