rust/tests/ui/generics/issue-59508-1.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
328 B
Plaintext
Raw Normal View History

2022-09-09 20:28:57 +08:00
error: lifetime parameters must be declared prior to type and const parameters
2021-10-24 00:46:47 +08:00
--> $DIR/issue-59508-1.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 1 previous error