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 ecc32c2 commit c38aa5fCopy full SHA for c38aa5f
crates/hir-ty/src/diagnostics/expr.rs
@@ -379,7 +379,7 @@ fn missing_match_arms<'p>(
379
arms: &[MatchArm],
380
) -> String {
381
struct DisplayWitness<'a, 'p>(&'a DeconstructedPat<'p>, &'a MatchCheckCtx<'a, 'p>);
382
- impl<'a, 'p> fmt::Display for DisplayWitness<'a, 'p> {
+ impl fmt::Display for DisplayWitness<'_, '_> {
383
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
384
let DisplayWitness(witness, cx) = *self;
385
let pat = witness.to_pat(cx);
0 commit comments