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