]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/user-defined-macro-rules.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / user-defined-macro-rules.stderr
index 3359aa4bcd720ed249e1a9add4d46cbcbf606fb9..a2d7b171a73abb255a07abaa3eeb0cf6178f6516 100644 (file)
@@ -1,13 +1,8 @@
 error: user-defined macros may not be named `macro_rules`
-  --> $DIR/user-defined-macro-rules.rs:13:1
+  --> $DIR/user-defined-macro-rules.rs:3:1
    |
 LL | macro_rules! macro_rules { () => {} } //~ ERROR user-defined macros may not be named `macro_rules`
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-error[E0601]: `main` function not found in crate `user_defined_macro_rules`
-   |
-   = note: consider adding a `main` function to `$DIR/user-defined-macro-rules.rs`
-
-error: aborting due to 2 previous errors
+error: aborting due to previous error
 
-For more information about this error, try `rustc --explain E0601`.