1 error: 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
4 17 | _foo + 1 //~ ERROR used binding `_foo` which is prefixed with an underscore
7 note: lint level defined here
8 --> $DIR/used_underscore_binding.rs:6:9
10 6 | #![deny(used_underscore_binding)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^
13 error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
14 --> $DIR/used_underscore_binding.rs:22:20
16 22 | println!("{}", _foo);
19 error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
20 --> $DIR/used_underscore_binding.rs:24:16
22 24 | assert_eq!(_foo, _foo);
25 error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
26 --> $DIR/used_underscore_binding.rs:24:22
28 24 | assert_eq!(_foo, _foo);
31 error: used binding `_underscore_field` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
32 --> $DIR/used_underscore_binding.rs:39:5
34 39 | s._underscore_field += 1; //~ Error used binding `_underscore_field` which is prefixed with an underscore
37 error: aborting due to 5 previous errors