3 // This test checks that generic parameter re-ordering diagnostic suggestions mention that
4 // consts come after types and lifetimes.
5 // We cannot run rustfix on this test because of the above const generics warning.
10 pub fn do_things<T, 'a, 'b: 'a>() {
11 //~^ ERROR lifetime parameters must be declared prior to type parameters