summary refs log tree commit diff
path: root/src/test/ui/parser/issue-14303-trait.stderr
blob: 6d00f284bbbe741b75bac61292248964a7e4d2db (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:13: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