summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/issue-99695-b.fixed
blob: 0e60c73b67a44e274dfc886d4d33e1b26f9262bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// run-rustfix
#![allow(unused, nonstandard_style)]
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() {}