Skip to content

Commit f7c6a56

Browse files
committed
Update op_ref.stderr
1 parent baa8a75 commit f7c6a56

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/ui/op_ref.stderr

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ help: use the values directly
1010
LL | let foo = 5 - 6;
1111
| ^ ^
1212

13-
error: taken reference of right operand
14-
--> $DIR/op_ref.rs:20:8
15-
|
16-
LL | if b < &a {
17-
| ^^^^--
18-
| |
19-
| help: use the right value directly: `a`
20-
2113
error: taken reference of right operand
2214
--> $DIR/op_ref.rs:57:13
2315
|
@@ -26,5 +18,5 @@ LL | let z = x & &y;
2618
| |
2719
| help: use the right value directly: `y`
2820

29-
error: aborting due to 3 previous errors
21+
error: aborting due to 2 previous errors
3022

0 commit comments

Comments
 (0)