2025-06-20 17:34:25 +00:00
|
|
|
//@ revisions: ed2015 ed2021
|
|
|
|
|
//@[ed2015] edition: 2015
|
|
|
|
|
//@[ed2021] edition: 2021
|
2024-08-16 23:58:19 +08:00
|
|
|
|
|
|
|
|
// issue#128813
|
|
|
|
|
|
|
|
|
|
extern crate core as _;
|
|
|
|
|
|
|
|
|
|
macro_rules! m {
|
|
|
|
|
() => {
|
|
|
|
|
extern crate std as _;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
m!();
|
|
|
|
|
|
|
|
|
|
fn main() {
|
2025-06-20 19:20:16 +00:00
|
|
|
use ::_;
|
2024-08-16 23:58:19 +08:00
|
|
|
//~^ ERROR: expected identifier, found reserved identifier `_`
|
|
|
|
|
}
|