455d659e91
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
9 lines
291 B
Plaintext
9 lines
291 B
Plaintext
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 types, then consts: `<'a, 'b, T>`
|
|
|
|
error: aborting due to previous error
|
|
|