diff options
Diffstat (limited to 'tests/ui/macros/macro-expansion-tests.stderr')
-rw-r--r-- | tests/ui/macros/macro-expansion-tests.stderr | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-expansion-tests.stderr b/tests/ui/macros/macro-expansion-tests.stderr new file mode 100644 index 000000000..8b3f7ca88 --- /dev/null +++ b/tests/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 + |