-error: lifetime parameters must be declared prior to type parameters
- --> $DIR/issue-14303-path.rs:10:40
+error[E0747]: type provided when a lifetime was expected
+ --> $DIR/issue-14303-path.rs:10:37
|
LL | fn bar<'a, 'b, 'c, T>(x: foo::X<'a, T, 'b, 'c>) {}
- | ^^ ^^ must be declared prior to type parameters
- | |
- | must be declared prior to type parameters
-help: move the lifetime parameters prior to the first type parameter
- |
-LL | fn bar<'a, 'b, 'c, T>(x: foo::X<'a, 'b, 'c, T>) {}
- | ^^^ ^^^ --
+ | ^
error: aborting due to previous error
+For more information about this error, try `rustc --explain E0747`.