1 error: needlessly taken reference of both operands
2 --> $DIR/op_ref.rs:11:15
4 LL | let foo = &5 - &6;
7 = note: `-D clippy::op-ref` implied by `-D warnings`
8 help: use the values directly
13 error: taken reference of right operand
14 --> $DIR/op_ref.rs:56:13
19 | help: use the right value directly: `y`
21 error: taken reference of right operand
22 --> $DIR/op_ref.rs:89:17
24 LL | let _ = one * &self;
27 | help: use the right value directly: `self`
29 error: taken reference of right operand
30 --> $DIR/op_ref.rs:90:17
32 LL | let _ = two + &three;
35 | help: use the right value directly: `three`
37 error: aborting due to 4 previous errors