summaryrefslogtreecommitdiffstats
path: root/tests/ui/generics/issue-59508-1.stderr
blob: 1c510044f806fb1d45a26c9b5bf6702a82dce558 (plain)
1
2
3
4
5
6
7
8
error: lifetime parameters must be declared prior to type and const parameters
  --> $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 previous error