2022-11-12 22:46:05 -06:00
|
|
|
//@ run-rustfix
|
2023-03-22 09:38:58 -05:00
|
|
|
#![allow(unused, nonstandard_style)]
|
2022-11-12 22:46:05 -06:00
|
|
|
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() {}
|