]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/op_ref.stderr
89ac9e4d8c480ff05541ca9877fa7743fbfe9595
[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 error: Could not compile `clippy_tests`.
14
15 To learn more, run the command again with --verbose.