]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/issue-14303-path.stderr
Move generic arg / param validation to `create_substs_for_generic_args`
[rust.git] / src / test / ui / parser / issue-14303-path.stderr
index 19f2995ebee536e652d98662d357b6bca4ea263c..841e63ecbe9d5128c40f5d27ebed08470bc57375 100644 (file)
@@ -1,8 +1,9 @@
-error: lifetime arguments must be declared prior to type arguments
-  --> $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>) {}
-   |                                        ^^  ^^
+   |                                     ^
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0747`.