about summary refs log tree commit diff
path: root/src/test/ui/proc-macro
diff options
context:
space:
mode:
authorAlex Tokarev <aleksator@gmail.com>2020-03-23 11:02:46 +0300
committerAlex Tokarev <aleksator@gmail.com>2020-03-23 12:14:45 +0300
commitb35c30251f441f44a5e3ea9c99ced8d75162897f (patch)
tree120e549e91d10981c66aa5f06a972cd132f04762 /src/test/ui/proc-macro
parent8ff785011be6625e32afceee3a08e5cff7470feb (diff)
downloadrust-b35c30251f441f44a5e3ea9c99ced8d75162897f.tar.gz
rust-b35c30251f441f44a5e3ea9c99ced8d75162897f.zip
Reword unused variable warning
Diffstat (limited to 'src/test/ui/proc-macro')
-rw-r--r--src/test/ui/proc-macro/attributes-included.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/proc-macro/attributes-included.stderr b/src/test/ui/proc-macro/attributes-included.stderr
index 27a215de032..bfbcf68b6c7 100644
--- a/src/test/ui/proc-macro/attributes-included.stderr
+++ b/src/test/ui/proc-macro/attributes-included.stderr
@@ -2,7 +2,7 @@ warning: unused variable: `a`
   --> $DIR/attributes-included.rs:17:9
    |
 LL |     let a: i32 = "foo";
-   |         ^ help: consider prefixing with an underscore: `_a`
+   |         ^ help: if this is intentional, prefix it with an underscore: `_a`
    |
 note: the lint level is defined here
   --> $DIR/attributes-included.rs:4:9