@@ -19,6 +19,10 @@ LL | Foo::Bar { a, aa: 1, c, b } => (),
19
19
| ~~~~~
20
20
help: if you don't care about this missing field, you can explicitly ignore it
21
21
|
22
+ LL | Foo::Bar { a, aa: 1, c, b: _ } => (),
23
+ | ~~~~~~~~
24
+ help: or always ignore missing fields here
25
+ |
22
26
LL | Foo::Bar { a, aa: 1, c, .. } => (),
23
27
| ~~~~~~
24
28
@@ -43,6 +47,10 @@ LL | Foo::Baz { bb: 1.0, a } => (),
43
47
| ~~~~~
44
48
help: if you don't care about this missing field, you can explicitly ignore it
45
49
|
50
+ LL | Foo::Baz { bb: 1.0, a: _ } => (),
51
+ | ~~~~~~~~
52
+ help: or always ignore missing fields here
53
+ |
46
54
LL | Foo::Baz { bb: 1.0, .. } => (),
47
55
| ~~~~~~
48
56
@@ -64,6 +72,10 @@ LL | Foo::Bar { a, aa: "", c, b } => (),
64
72
| ~~~~~
65
73
help: if you don't care about this missing field, you can explicitly ignore it
66
74
|
75
+ LL | Foo::Bar { a, aa: "", c, b: _ } => (),
76
+ | ~~~~~~~~
77
+ help: or always ignore missing fields here
78
+ |
67
79
LL | Foo::Bar { a, aa: "", c, .. } => (),
68
80
| ~~~~~~
69
81
@@ -85,6 +97,10 @@ LL | Foo::Baz { bb: "", a } => (),
85
97
| ~~~~~
86
98
help: if you don't care about this missing field, you can explicitly ignore it
87
99
|
100
+ LL | Foo::Baz { bb: "", a: _ } => (),
101
+ | ~~~~~~~~
102
+ help: or always ignore missing fields here
103
+ |
88
104
LL | Foo::Baz { bb: "", .. } => (),
89
105
| ~~~~~~
90
106
0 commit comments