From f7c6a560e7e3968811ade10306c643bbd0ef9857 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Tue, 3 Dec 2019 18:26:56 +0100 Subject: [PATCH] Update op_ref.stderr --- tests/ui/op_ref.stderr | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tests/ui/op_ref.stderr b/tests/ui/op_ref.stderr index 0f6a45f905c8..a3a9adcc4835 100644 --- a/tests/ui/op_ref.stderr +++ b/tests/ui/op_ref.stderr @@ -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