]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generics/issue-59508.stderr
Auto merge of #101768 - sunfishcode:sunfishcode/wasi-stdio-lock-asfd, r=joshtriplett
[rust.git] / src / test / ui / generics / issue-59508.stderr
1 error: lifetime parameters must be declared prior to type and const parameters
2   --> $DIR/issue-59508.rs:10: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