mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
20 lines
256 B
Rust
20 lines
256 B
Rust
//@ edition: 2021
|
|
//@ aux-build: empty.rs
|
|
|
|
// issue#128813
|
|
|
|
extern crate empty;
|
|
|
|
macro_rules! m {
|
|
() => {
|
|
extern crate std as empty;
|
|
//~^ ERROR: the name `empty` is defined multiple times
|
|
};
|
|
}
|
|
|
|
m!();
|
|
|
|
fn main() {
|
|
use ::empty;
|
|
}
|