summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-14303-trait.stderr
blob: 75cd67a9ded821093e17bb902b723ef7706476a5 (plain)
1
2
3
4
5
6
7
8
error: lifetime parameters must be declared prior to type parameters
  --> $DIR/issue-14303-trait.rs:1:18
   |
LL | trait Foo<'a, T, 'b> {}
   |          --------^^- help: reorder the parameters: lifetimes, then consts and types: `<'a, 'b, T>`

error: aborting due to previous error