diff options
Diffstat (limited to 'src/test/ui/destructuring-assignment/struct_destructure_fail.stderr')
| -rw-r--r-- | src/test/ui/destructuring-assignment/struct_destructure_fail.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/destructuring-assignment/struct_destructure_fail.stderr b/src/test/ui/destructuring-assignment/struct_destructure_fail.stderr index c0955ef8b06..8a83e145ea2 100644 --- a/src/test/ui/destructuring-assignment/struct_destructure_fail.stderr +++ b/src/test/ui/destructuring-assignment/struct_destructure_fail.stderr @@ -32,12 +32,12 @@ LL | Struct { a, _ } = Struct { a: 1, b: 2 }; | help: include the missing field in the pattern | -LL | Struct { a, b _ } = Struct { a: 1, b: 2 }; - | ^^^ +LL | Struct { a, b } = Struct { a: 1, b: 2 }; + | ^^^^^ help: if you don't care about this missing field, you can explicitly ignore it | -LL | Struct { a, .. _ } = Struct { a: 1, b: 2 }; - | ^^^^ +LL | Struct { a, .. } = Struct { a: 1, b: 2 }; + | ^^^^^^ error: aborting due to 5 previous errors |
