]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-59508-1.stderr
Rollup merge of #88496 - m-ou-se:prelude-collision-lifetime-generics, r=petrochenkov
[rust.git] / src / test / ui / issues / issue-59508-1.stderr
1 error: lifetime parameters must be declared prior to type parameters
2   --> $DIR/issue-59508-1.rs:11:25
3    |
4 LL |     pub fn do_things<T, 'a, 'b: 'a>() {
5    |                     ----^^--^^----- help: reorder the parameters: lifetimes, then consts and types: `<'a, 'b: 'a, T>`
6
7 error: aborting due to previous error
8