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