mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
21 lines
385 B
Rust
21 lines
385 B
Rust
//@ 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() {}
|