rust/tests/ui/imports/issue-99695-b.fixed

21 lines
412 B
Rust
Raw Normal View History

// run-rustfix
2023-03-12 09:23:32 -05:00
#![allow(unused, nonstandard_style, useless_anonymous_reexport)]
mod m {
mod p {
#[macro_export]
macro_rules! nu {
{} => {};
}
pub struct other_item;
}
use ::nu;
pub use self::p::{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() {}