We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a35db5c commit a314686Copy full SHA for a314686
clippy_lints/src/rest_when_destructuring_struct.rs
@@ -92,7 +92,6 @@ impl<'tcx> LateLintPass<'tcx> for RestWhenDestructuringStruct {
92
pat.span,
93
"struct destructuring with rest (..)",
94
|diag| {
95
- // println!("{:?}", pat);
96
diag.span_suggestion_verbose(
97
dotdot,
98
"consider explicitly ignoring remaining fields with wildcard patterns (x: _)",
0 commit comments