summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/issue-99695.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/imports/issue-99695.fixed')
-rw-r--r--tests/ui/imports/issue-99695.fixed17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/ui/imports/issue-99695.fixed b/tests/ui/imports/issue-99695.fixed
new file mode 100644
index 000000000..6bf228b23
--- /dev/null
+++ b/tests/ui/imports/issue-99695.fixed
@@ -0,0 +1,17 @@
+// 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() {}