]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/used_underscore_binding.stderr
New upstream version 1.23.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / used_underscore_binding.stderr
CommitLineData
ea8adc8c
XL
1error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
2 --> $DIR/used_underscore_binding.rs:17:5
3 |
417 | _foo + 1
5 | ^^^^
6 |
7 = note: `-D used-underscore-binding` implied by `-D warnings`
8
9error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
10 --> $DIR/used_underscore_binding.rs:22:20
11 |
1222 | println!("{}", _foo);
13 | ^^^^
14
15error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
16 --> $DIR/used_underscore_binding.rs:23:16
17 |
1823 | assert_eq!(_foo, _foo);
19 | ^^^^
20
21error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
22 --> $DIR/used_underscore_binding.rs:23:22
23 |
2423 | assert_eq!(_foo, _foo);
25 | ^^^^
26
27error: used binding `_underscore_field` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
28 --> $DIR/used_underscore_binding.rs:36:5
29 |
3036 | s._underscore_field += 1;
31 | ^^^^^^^^^^^^^^^^^^^
32