]> git.lizzy.rs Git - rust.git/blob - src/test/ui/user-defined-macro-rules.stderr
Omit 'missing IndexMut impl' suggestion when IndexMut is implemented.
[rust.git] / src / test / ui / user-defined-macro-rules.stderr
1 error: user-defined macros may not be named `macro_rules`
2   --> $DIR/user-defined-macro-rules.rs:13:1
3    |
4 LL | macro_rules! macro_rules { () => {} } //~ ERROR user-defined macros may not be named `macro_rules`
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0601]: `main` function not found in crate `user_defined_macro_rules`
8    |
9    = note: consider adding a `main` function to `$DIR/user-defined-macro-rules.rs`
10
11 error: aborting due to 2 previous errors
12
13 For more information about this error, try `rustc --explain E0601`.