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
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:23:16
22 23 | 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:23:22
28 23 | 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:36:5
34 36 | s._underscore_field += 1;
37 error: aborting due to 5 previous errors