diff options
Diffstat (limited to 'src/test/ui/destructuring-assignment/default-match-bindings-forbidden.stderr')
| -rw-r--r-- | src/test/ui/destructuring-assignment/default-match-bindings-forbidden.stderr | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/ui/destructuring-assignment/default-match-bindings-forbidden.stderr b/src/test/ui/destructuring-assignment/default-match-bindings-forbidden.stderr index e6161fdfa24..2250f561b54 100644 --- a/src/test/ui/destructuring-assignment/default-match-bindings-forbidden.stderr +++ b/src/test/ui/destructuring-assignment/default-match-bindings-forbidden.stderr @@ -1,10 +1,8 @@ error[E0308]: mismatched types - --> $DIR/default-match-bindings-forbidden.rs:6:5 + --> $DIR/default-match-bindings-forbidden.rs:4:5 | LL | (x, y) = &(1, 2); - | ^^^^^^ ------- this expression has type `&({integer}, {integer})` - | | - | expected reference, found tuple + | ^^^^^^ expected reference, found tuple | = note: expected type `&({integer}, {integer})` found tuple `(_, _)` |
