fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
633 B18 linesraw
1error[E0255]: the name `panic` is defined multiple times
2  --> $DIR/duplicate-check-macro-exports.rs:4:1
3   |
4LL | pub use std::panic;
5   |         ---------- previous import of the macro `panic` here
6...
7LL | macro_rules! panic { () => {} }
8   | ^^^^^^^^^^^^^^^^^^ `panic` redefined here
9   |
10   = note: `panic` must be defined only once in the macro namespace of this module
11help: you can use `as` to change the binding name of the import
12   |
13LL | pub use std::panic as other_panic;
14   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0255`.