]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/issue-99695-b.fixed
Auto merge of #107197 - aliemjay:patch-2, r=jackh726
[rust.git] / tests / ui / imports / issue-99695-b.fixed
1 // run-rustfix
2 #![allow(unused, nonstandard_style)]
3 mod m {
4
5     mod p {
6         #[macro_export]
7         macro_rules! nu {
8             {} => {};
9         }
10
11         pub struct other_item;
12     }
13
14     use ::nu;
15 pub use self::p::{other_item as _};
16     //~^ ERROR unresolved import `self::p::nu` [E0432]
17     //~| HELP a macro with this name exists at the root of the crate
18 }
19
20 fn main() {}