about summary refs log tree commit diff
path: root/src/test/ui/parser/issue-14303-trait.stderr
blob: 4f6b18d93f7e0cb7d32ff2f3407c8db98241d18b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error: lifetime parameters must be declared prior to type parameters
  --> $DIR/issue-14303-trait.rs:3:18
   |
LL | trait Foo<'a, T, 'b> {}
   |                  ^^
help: move the lifetime parameter prior to the first type parameter
   |
LL | trait Foo<'a, 'b, T> {}
   |               ^^^ --

error: aborting due to previous error