mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
19 lines
228 B
Rust
19 lines
228 B
Rust
//@ edition: 2021
|
|
|
|
// issue#128813
|
|
|
|
extern crate core;
|
|
|
|
macro_rules! m {
|
|
() => {
|
|
extern crate std as core;
|
|
//~^ ERROR: the name `core` is defined multiple times
|
|
};
|
|
}
|
|
|
|
m!();
|
|
|
|
fn main() {
|
|
use ::core;
|
|
}
|