summary refs log tree commit diff
path: root/src/test/ui/parser/issue-14303-trait.stderr
blob: 7dfa62d823fd8754c7f3873797b2a401b73ac7c3 (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 types, then consts: `<'a, 'b, T>`

error: aborting due to previous error