]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/used_underscore_binding.stderr
Fix the test suite after cargo update
[rust.git] / clippy_tests / examples / used_underscore_binding.stderr
1 error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
2   --> used_underscore_binding.rs:17:5
3    |
4 17 |     _foo + 1
5    |     ^^^^
6    |
7    = note: `-D used-underscore-binding` implied by `-D warnings`
8
9 error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
10   --> used_underscore_binding.rs:22:20
11    |
12 22 |     println!("{}", _foo);
13    |                    ^^^^
14    |
15    = note: `-D used-underscore-binding` implied by `-D warnings`
16
17 error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
18   --> used_underscore_binding.rs:23:16
19    |
20 23 |     assert_eq!(_foo, _foo);
21    |                ^^^^
22    |
23    = note: `-D used-underscore-binding` implied by `-D warnings`
24
25 error: used binding `_foo` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
26   --> used_underscore_binding.rs:23:22
27    |
28 23 |     assert_eq!(_foo, _foo);
29    |                      ^^^^
30    |
31    = note: `-D used-underscore-binding` implied by `-D warnings`
32
33 error: used binding `_underscore_field` which is prefixed with an underscore. A leading underscore signals that a binding will not be used.
34   --> used_underscore_binding.rs:36:5
35    |
36 36 |     s._underscore_field += 1;
37    |     ^^^^^^^^^^^^^^^^^^^
38    |
39    = note: `-D used-underscore-binding` implied by `-D warnings`
40
41 error: aborting due to previous error(s)
42
43
44 To learn more, run the command again with --verbose.