]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/op_ref.stderr
Fix the test suite after cargo update
[rust.git] / clippy_tests / examples / op_ref.stderr
1 error: needlessly taken reference of both operands
2   --> op_ref.rs:13:15
3    |
4 13 |     let foo = &5 - &6;
5    |               ^^^^^^^
6    |
7    = note: `-D op-ref` implied by `-D warnings`
8 help: use the values directly
9    |     let foo = 5 - 6;
10
11 error: aborting due to previous error(s)
12
13
14 To learn more, run the command again with --verbose.