]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/issue-14303-path.rs
Move generic arg / param validation to `create_substs_for_generic_args`
[rust.git] / src / test / ui / parser / issue-14303-path.rs
index 386d19859e4a83d6a6055ee2e295f4d6023df6cc..89ef914aba238a7871241e1ccf7b860c87f7460e 100644 (file)
@@ -8,6 +8,6 @@ pub struct X<'a, 'b, 'c, T> {
 }
 
 fn bar<'a, 'b, 'c, T>(x: foo::X<'a, T, 'b, 'c>) {}
-//~^ ERROR lifetime arguments must be declared prior to type arguments
+//~^ ERROR type provided when a lifetime was expected
 
 fn main() {}