rust/src/test/ui/issues/issue-38715.stderr

18 lines
737 B
Plaintext
Raw Normal View History

2018-04-21 09:18:38 -05:00
error: a macro named `foo` has already been exported
2018-12-25 09:56:47 -06:00
--> $DIR/issue-38715.rs:5:1
2018-04-21 09:18:38 -05:00
|
LL | macro_rules! foo { () => {} } //~ ERROR a macro named `foo` has already been exported
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `foo` already exported
|
= note: #[deny(duplicate_macro_exports)] on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
= note: for more information, see issue #35896 <https://github.com/rust-lang/rust/issues/35896>
note: previous macro export is now shadowed
2018-12-25 09:56:47 -06:00
--> $DIR/issue-38715.rs:2:1
2018-04-21 09:18:38 -05:00
|
LL | macro_rules! foo { ($i:ident) => {} }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
2018-04-21 09:18:38 -05:00