mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
11 lines
243 B
Plaintext
11 lines
243 B
Plaintext
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;
|
|
|