]> git.lizzy.rs Git - rust.git/blob - tests/ui/op_ref.stderr
Merge pull request #2065 from rust-lang-nursery/cargo_clippy
[rust.git] / tests / ui / op_ref.stderr
1 error: needlessly taken reference of both operands
2   --> $DIR/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    |
10 13 |     let foo = 5 - 6;
11    |               ^
12