@@ -19,6 +19,10 @@ LL | Foo::Bar { a, aa: 1, c, b } => (),
1919 | ~~~~~
2020help: if you don't care about this missing field, you can explicitly ignore it
2121 |
22+ LL | Foo::Bar { a, aa: 1, c, b: _ } => (),
23+ | ~~~~~~~~
24+ help: or always ignore missing fields here
25+ |
2226LL | Foo::Bar { a, aa: 1, c, .. } => (),
2327 | ~~~~~~
2428
@@ -43,6 +47,10 @@ LL | Foo::Baz { bb: 1.0, a } => (),
4347 | ~~~~~
4448help: if you don't care about this missing field, you can explicitly ignore it
4549 |
50+ LL | Foo::Baz { bb: 1.0, a: _ } => (),
51+ | ~~~~~~~~
52+ help: or always ignore missing fields here
53+ |
4654LL | Foo::Baz { bb: 1.0, .. } => (),
4755 | ~~~~~~
4856
@@ -64,6 +72,10 @@ LL | Foo::Bar { a, aa: "", c, b } => (),
6472 | ~~~~~
6573help: if you don't care about this missing field, you can explicitly ignore it
6674 |
75+ LL | Foo::Bar { a, aa: "", c, b: _ } => (),
76+ | ~~~~~~~~
77+ help: or always ignore missing fields here
78+ |
6779LL | Foo::Bar { a, aa: "", c, .. } => (),
6880 | ~~~~~~
6981
@@ -85,6 +97,10 @@ LL | Foo::Baz { bb: "", a } => (),
8597 | ~~~~~
8698help: if you don't care about this missing field, you can explicitly ignore it
8799 |
100+ LL | Foo::Baz { bb: "", a: _ } => (),
101+ | ~~~~~~~~
102+ help: or always ignore missing fields here
103+ |
88104LL | Foo::Baz { bb: "", .. } => (),
89105 | ~~~~~~
90106
0 commit comments