diff options
| author | Alex Tokarev <aleksator@gmail.com> | 2020-03-23 11:02:46 +0300 |
|---|---|---|
| committer | Alex Tokarev <aleksator@gmail.com> | 2020-03-23 12:14:45 +0300 |
| commit | b35c30251f441f44a5e3ea9c99ced8d75162897f (patch) | |
| tree | 120e549e91d10981c66aa5f06a972cd132f04762 /src/test/ui/proc-macro | |
| parent | 8ff785011be6625e32afceee3a08e5cff7470feb (diff) | |
| download | rust-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.stderr | 2 |
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 |
