]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/seq-args.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / seq-args.stderr
index dc9d0a7fc0baff6246b4703c9ebd379503a68a5b..6ef9f5de4ebcdcc569811fa598c811abeef05e50 100644 (file)
@@ -1,15 +1,15 @@
-error[E0244]: wrong number of type arguments: expected 0, found 1
-  --> $DIR/seq-args.rs:14:9
+error[E0107]: wrong number of type arguments: expected 0, found 1
+  --> $DIR/seq-args.rs:14:13
    |
 LL | impl<T> seq<T> for Vec<T> { //~ ERROR wrong number of type arguments
-   |         ^^^^^^ expected no type arguments
+   |             ^ unexpected type argument
 
-error[E0244]: wrong number of type arguments: expected 0, found 1
-  --> $DIR/seq-args.rs:17:6
+error[E0107]: wrong number of type arguments: expected 0, found 1
+  --> $DIR/seq-args.rs:17:10
    |
 LL | impl seq<bool> for u32 { //~ ERROR wrong number of type arguments
-   |      ^^^^^^^^^ expected no type arguments
+   |          ^^^^ unexpected type argument
 
 error: aborting due to 2 previous errors
 
-For more information about this error, try `rustc --explain E0244`.
+For more information about this error, try `rustc --explain E0107`.