rust-clippy/tests/ui/op_ref.stderr
2017-04-28 17:03:47 +02:00

10 lines
243 B
Text

warning: needlessly taken reference of both operands
--> $DIR/op_ref.rs:13:15
|
13 | let foo = &5 - &6;
| ^^^^^^^
|
= note: #[warn(op_ref)] on by default
help: use the values directly
| let foo = 5 - 6;