about summary refs log tree commit diff
path: root/src/test/ui/missing
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-10-17 05:36:32 +0900
committerGitHub <noreply@github.com>2020-10-17 05:36:32 +0900
commit7581bb7c02f9960fba66add3e4c7c62874c60c7f (patch)
tree4e48ad8722a26a5bb1b249d5ec034a9126de1dbf /src/test/ui/missing
parent5a51185fd4600e96cc79a3db9da3c4bf927f2281 (diff)
parentea7cf6106864ce7929eb9f3cfe580f05ee418ac8 (diff)
downloadrust-7581bb7c02f9960fba66add3e4c7c62874c60c7f.tar.gz
rust-7581bb7c02f9960fba66add3e4c7c62874c60c7f.zip
Rollup merge of #75209 - Hirrolot:suggest-macro-imports, r=estebank
Suggest imports of unresolved macros

Closes https://github.com/rust-lang/rust/issues/75191.
Diffstat (limited to 'src/test/ui/missing')
-rw-r--r--src/test/ui/missing/missing-macro-use.stderr3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/missing/missing-macro-use.stderr b/src/test/ui/missing/missing-macro-use.stderr
index 711e249d2bc..ced062269df 100644
--- a/src/test/ui/missing/missing-macro-use.stderr
+++ b/src/test/ui/missing/missing-macro-use.stderr
@@ -3,6 +3,9 @@ error: cannot find macro `macro_two` in this scope
    |
 LL |     macro_two!();
    |     ^^^^^^^^^
+   |
+   = note: consider importing this macro:
+           two_macros::macro_two
 
 error: aborting due to previous error