diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2023-02-22 13:55:06 +0400 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2023-03-13 17:31:55 +0400 |
| commit | b3ee735993db51074c8f494336696978a77dc16b (patch) | |
| tree | cd20a4b010afcb57e34f15275772dd01dcc4843f /tests/ui | |
| parent | 2a716f35636678fde3f5f71f3163909484b99a55 (diff) | |
| download | rust-b3ee735993db51074c8f494336696978a77dc16b.tar.gz rust-b3ee735993db51074c8f494336696978a77dc16b.zip | |
resolve: Remove `struct_field_names_untracked`
Diffstat (limited to 'tests/ui')
| -rw-r--r-- | tests/ui/empty/empty-struct-tuple-pat.stderr | 4 | ||||
| -rw-r--r-- | tests/ui/pattern/pat-tuple-field-count-cross.stderr | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/empty/empty-struct-tuple-pat.stderr b/tests/ui/empty/empty-struct-tuple-pat.stderr index 8d0f75d204c..45001c79753 100644 --- a/tests/ui/empty/empty-struct-tuple-pat.stderr +++ b/tests/ui/empty/empty-struct-tuple-pat.stderr @@ -46,8 +46,8 @@ LL | XEmpty5(), | help: use the tuple variant pattern syntax instead | -LL | XE::XEmpty5(/* fields */) => (), - | ~~~~~~~~~~~~~~~~~~~~~~~~~ +LL | XE::XEmpty5() => (), + | ~~~~~~~~~~~~~ help: a unit variant with a similar name exists | LL | XE::XEmpty4 => (), diff --git a/tests/ui/pattern/pat-tuple-field-count-cross.stderr b/tests/ui/pattern/pat-tuple-field-count-cross.stderr index d9295746158..0d7f2e4af69 100644 --- a/tests/ui/pattern/pat-tuple-field-count-cross.stderr +++ b/tests/ui/pattern/pat-tuple-field-count-cross.stderr @@ -113,8 +113,8 @@ LL | pub enum E1 { Z0, Z1(), S(u8, u8, u8) } | help: use the tuple variant pattern syntax instead | -LL | E1::Z1(/* fields */) => {} - | ~~~~~~~~~~~~~~~~~~~~ +LL | E1::Z1() => {} + | ~~~~~~~~ help: a unit variant with a similar name exists | LL | E1::Z0 => {} |
