fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
683 B17 linesraw
1error: a macro named `foo` has already been exported
2  --> $DIR/issue-38715.rs:5:1
3   |
4LL | macro_rules! foo { () => {} }
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `foo` already exported
6   |
7   = note: `#[deny(duplicate_macro_exports)]` on by default
8   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
9   = note: for more information, see issue #35896 <https://github.com/rust-lang/rust/issues/35896>
10note: previous macro export is now shadowed
11  --> $DIR/issue-38715.rs:2:1
12   |
13LL | macro_rules! foo { ($i:ident) => {} }
14   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15
16error: aborting due to previous error
17