about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-08-13 20:07:09 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2017-08-16 13:53:47 +0200
commit9b0607ab4e2d560e6547da1de9d3cd5ed2c3d4fd (patch)
treec1184172a59417c470f7db5a13b537be674f196f /src/test
parentb6179602bea71607a9ea63197eca423fcce5f7b0 (diff)
downloadrust-9b0607ab4e2d560e6547da1de9d3cd5ed2c3d4fd.tar.gz
rust-9b0607ab4e2d560e6547da1de9d3cd5ed2c3d4fd.zip
Add a note to unused variables
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/span/issue-24690.stderr1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/span/issue-24690.stderr b/src/test/ui/span/issue-24690.stderr
index 4f1c870d874..d4c0eb21342 100644
--- a/src/test/ui/span/issue-24690.stderr
+++ b/src/test/ui/span/issue-24690.stderr
@@ -10,6 +10,7 @@ note: lint level defined here
 18 | #![warn(unused)]
    |         ^^^^^^
    = note: #[warn(unused_variables)] implied by #[warn(unused)]
+   = note: to disable this warning, consider using `_theOtherTwo` instead
 
 warning: variable `theTwo` should have a snake case name such as `the_two`
   --> $DIR/issue-24690.rs:22:9