]> git.lizzy.rs Git - rust.git/blob - tests/ui/op_ref.stderr
Merge remote-tracking branch 'origin/master' into yati
[rust.git] / tests / ui / op_ref.stderr
1 warning: taken reference of both operands, which is done automatically by the operator anyway
2   --> $DIR/op_ref.rs:13:15
3    |
4 13 |     let foo = &5 - &6;
5    |               ^^^^^^^
6    |
7    = note: #[warn(op_ref)] on by default
8 help: use the values directly
9    |     let foo = 5 - 6;
10