]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/op_ref.stderr
Auto merge of #6336 - giraffate:sync-from-rust, r=flip1995
[rust.git] / tests / ui / op_ref.stderr
index 0f6a45f905c8e15ced40977c9403fb3dbfdc64d6..a3a9adcc483551aa12d80c7423fa241625234e56 100644 (file)
@@ -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