fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1// run-rustfix 2 3#![allow(dead_code)] 4 5// This test checks that generic parameter re-ordering diagnostic suggestions contain bounds. 6 7struct A; 8 9impl A { 10 pub fn do_things<'a, 'b: 'a, T>() { 11 //~^ ERROR lifetime parameters must be declared prior to type parameters 12 println!("panic"); 13 } 14} 15 16fn main() {}