rust/tests/ui/imports/multiple-extern-by-macro-for-underscore.rs

19 lines
232 B
Rust

//@ edition: 2021
// issue#128813
extern crate core as _;
macro_rules! m {
() => {
extern crate std as _;
};
}
m!();
fn main() {
use ::_;
//~^ ERROR: expected identifier, found reserved identifier `_`
}