rust/clippy_tests/examples/used_underscore_binding.stderr
Georg Brandl 6b6253016f Update stderr files for change in error reporting
rustc now (https://github.com/rust-lang/rust/issues/33525) does not
report an error count anymore, because it was not correct in many cases.
2017-05-26 16:54:07 +02:00

46 lines
1.6 KiB
Plaintext

error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
--> used_underscore_binding.rs:17:5
|
17 | _foo + 1
| ^^^^
|
= note: `-D used-underscore-binding` implied by `-D warnings`
error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
--> used_underscore_binding.rs:22:20
|
22 | println!("{}", _foo);
| ^^^^
|
= note: `-D used-underscore-binding` implied by `-D warnings`
error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
--> used_underscore_binding.rs:23:16
|
23 | assert_eq!(_foo, _foo);
| ^^^^
|
= note: `-D used-underscore-binding` implied by `-D warnings`
error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
--> used_underscore_binding.rs:23:22
|
23 | assert_eq!(_foo, _foo);
| ^^^^
|
= note: `-D used-underscore-binding` implied by `-D warnings`
error: used binding `_underscore_field` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
--> used_underscore_binding.rs:36:5
|
36 | s._underscore_field += 1;
| ^^^^^^^^^^^^^^^^^^^
|
= note: `-D used-underscore-binding` implied by `-D warnings`
error: aborting due to previous error(s)
error: Could not compile `clippy_tests`.
To learn more, run the command again with --verbose.