]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/unneeded_field_pattern.stderr
Rollup merge of #102454 - chenyukang:fix-102396-missing-parentheses, r=lcnr
[rust.git] / src / tools / clippy / tests / ui / unneeded_field_pattern.stderr
index b8d3c2945322b66e6e59859595fb44a12379ebc9..6f7c315456969b91c54bcf3033a11c599a08fe54 100644 (file)
@@ -4,8 +4,8 @@ error: you matched a field with a wildcard pattern, consider using `..` instead
 LL |         Foo { a: _, b: 0, .. } => {},
    |               ^^^^
    |
-   = note: `-D clippy::unneeded-field-pattern` implied by `-D warnings`
    = help: try with `Foo { b: 0, .. }`
+   = note: `-D clippy::unneeded-field-pattern` implied by `-D warnings`
 
 error: all the struct fields are matched to a wildcard pattern, consider using `..`
   --> $DIR/unneeded_field_pattern.rs:16:9