mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
e9d8d238ef
Fixes #99695
17 lines
333 B
Rust
17 lines
333 B
Rust
// run-rustfix
|
|
#![allow(unused, nonstandard_style)]
|
|
mod m {
|
|
#[macro_export]
|
|
macro_rules! nu {
|
|
{} => {};
|
|
}
|
|
|
|
pub struct other_item;
|
|
|
|
pub use self::{nu, other_item as _};
|
|
//~^ ERROR unresolved import `self::nu` [E0432]
|
|
//~| HELP a macro with this name exists at the root of the crate
|
|
}
|
|
|
|
fn main() {}
|