mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
Update op_ref.stderr
This commit is contained in:
parent
c56f72da35
commit
7162393103
1 changed files with 1 additions and 9 deletions
|
@ -10,14 +10,6 @@ help: use the values directly
|
|||
LL | let foo = 5 - 6;
|
||||
| ^ ^
|
||||
|
||||
error: taken reference of right operand
|
||||
--> $DIR/op_ref.rs:20:8
|
||||
|
|
||||
LL | if b < &a {
|
||||
| ^^^^--
|
||||
| |
|
||||
| help: use the right value directly: `a`
|
||||
|
||||
error: taken reference of right operand
|
||||
--> $DIR/op_ref.rs:57:13
|
||||
|
|
||||
|
@ -26,5 +18,5 @@ LL | let z = x & &y;
|
|||
| |
|
||||
| help: use the right value directly: `y`
|
||||
|
||||
error: aborting due to 3 previous errors
|
||||
error: aborting due to 2 previous errors
|
||||
|
||||
|
|
Loading…
Reference in a new issue