summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/macro-expansion-tests.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/macros/macro-expansion-tests.stderr')
-rw-r--r--src/test/ui/macros/macro-expansion-tests.stderr18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/ui/macros/macro-expansion-tests.stderr b/src/test/ui/macros/macro-expansion-tests.stderr
new file mode 100644
index 000000000..8b3f7ca88
--- /dev/null
+++ b/src/test/ui/macros/macro-expansion-tests.stderr
@@ -0,0 +1,18 @@
+error: cannot find macro `m` in this scope
+ --> $DIR/macro-expansion-tests.rs:7:21
+ |
+LL | fn g() -> i32 { m!() }
+ | ^
+ |
+ = help: have you added the `#[macro_use]` on the module/import?
+
+error: cannot find macro `m` in this scope
+ --> $DIR/macro-expansion-tests.rs:15:21
+ |
+LL | fn g() -> i32 { m!() }
+ | ^
+ |
+ = help: have you added the `#[macro_use]` on the module/import?
+
+error: aborting due to 2 previous errors
+