fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// run-rustfix 2 3trait WithType<T> {} 4trait WithRegion<'a> { } 5 6#[allow(dead_code)] 7struct Foo<T> { 8 t: T 9} 10 11impl<T> Foo<T> 12where 13 T: for<'a> WithType<&'a u32> 14//~^ ERROR `&` without an explicit lifetime name cannot be used here 15{ } 16 17fn main() {}