blob: c52ae4182b86bf0ad4547d6be74d0eb2a6553908 (
plain)
1
2
3
4
5
6
7
8
|
error: lifetime parameters must be declared prior to type parameters
--> $DIR/issue-59508.rs:10:25
|
LL | pub fn do_things<T, 'a, 'b: 'a>() {
| ----^^--^^----- help: reorder the parameters: lifetimes, then consts and types: `<'a, 'b: 'a, T>`
error: aborting due to previous error
|