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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
232 B
Rust
Raw Normal View History

//@ 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 `_`
}