rust/tests/ui/imports/issue-99695-b.rs
2023-03-12 16:38:54 +01:00

20 lines
406 B
Rust

// run-rustfix
#![allow(unused, nonstandard_style, useless_anonymous_reexport)]
mod m {
mod p {
#[macro_export]
macro_rules! nu {
{} => {};
}
pub struct other_item;
}
pub use self::p::{nu, other_item as _};
//~^ ERROR unresolved import `self::p::nu` [E0432]
//~| HELP a macro with this name exists at the root of the crate
}
fn main() {}