2017-04-28 15:03:47 +00:00
|
|
|
warning: needlessly taken reference of both operands
|
2017-04-10 13:10:19 +00:00
|
|
|
--> $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;
|
|
|
|
|