Skip to content

Commit

Permalink
Update op_ref.stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Dec 3, 2019
1 parent c56f72d commit 7162393
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions tests/ui/op_ref.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
|
Expand All @@ -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

0 comments on commit 7162393

Please sign in to comment.