]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issue-53251.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / issue-53251.stderr
index bf99e73f0d985ac9809af96217a55096e435990d..51ea745bedb57c1e6f7c7bcfd36dca1078f30a95 100644 (file)
@@ -1,17 +1,12 @@
-error[E0601]: `main` function not found in crate `issue_53251`
-   |
-   = note: consider adding a `main` function to `$DIR/issue-53251.rs`
-
-error[E0087]: too many type parameters provided: expected at most 0 type parameters, found 1 type parameter
+error[E0107]: wrong number of type arguments: expected 0, found 1
   --> $DIR/issue-53251.rs:21:24
    |
 LL |                 S::f::<i64>();
-   |                        ^^^ expected 0 type parameters
+   |                        ^^^ unexpected type argument
 ...
 LL | impl_add!(a b);
    | --------------- in this macro invocation
 
-error: aborting due to 2 previous errors
+error: aborting due to previous error
 
-Some errors occurred: E0087, E0601.
-For more information about an error, try `rustc --explain E0087`.
+For more information about this error, try `rustc --explain E0107`.