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