blob: bacc922969d9172bdaaf4f5bdec9f7f8369ca3df (
plain)
1
2
3
4
5
6
7
8
|
error: lifetime parameters must be declared prior to type parameters
--> $DIR/issue-14303-fn-def.rs:1:15
|
LL | fn foo<'a, T, 'b>(x: &'a T) {}
| --------^^- help: reorder the parameters: lifetimes, then consts and types: `<'a, 'b, T>`
error: aborting due to previous error
|