about summary refs log tree commit diff
path: root/tests/ui/macros/macro-use-all-and-none.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/macro-use-all-and-none.stderr')
-rw-r--r--tests/ui/macros/macro-use-all-and-none.stderr3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/macros/macro-use-all-and-none.stderr b/tests/ui/macros/macro-use-all-and-none.stderr
index a5efb065a21..b4c05adcb33 100644
--- a/tests/ui/macros/macro-use-all-and-none.stderr
+++ b/tests/ui/macros/macro-use-all-and-none.stderr
@@ -2,8 +2,9 @@ warning: unused attribute
   --> $DIR/macro-use-all-and-none.rs:7:12
    |
 LL | #[macro_use()]
-   |            ^^ help: remove this attribute
+   |            ^^ help: remove these parentheses
    |
+   = note: using `macro_use` with an empty list is equivalent to not using a list at all
 note: the lint level is defined here
   --> $DIR/macro-use-all-and-none.rs:4:9
    |