summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-reexport-removed.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/macro-reexport-removed.stderr')
-rw-r--r--tests/ui/macros/macro-reexport-removed.stderr17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-reexport-removed.stderr b/tests/ui/macros/macro-reexport-removed.stderr
new file mode 100644
index 000000000..475a586dd
--- /dev/null
+++ b/tests/ui/macros/macro-reexport-removed.stderr
@@ -0,0 +1,17 @@
+error[E0557]: feature has been removed
+ --> $DIR/macro-reexport-removed.rs:3:12
+ |
+LL | #![feature(macro_reexport)]
+ | ^^^^^^^^^^^^^^ feature has been removed
+ |
+ = note: subsumed by `pub use`
+
+error: cannot find attribute `macro_reexport` in this scope
+ --> $DIR/macro-reexport-removed.rs:5:3
+ |
+LL | #[macro_reexport(macro_one)]
+ | ^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `macro_export`
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0557`.