Skip to content

Commit 402f55f

Browse files
Implement lowering of if-let guards to MIR
1 parent 3be53bc commit 402f55f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/utils/author.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,7 @@ fn desugaring_name(des: hir::MatchSource) -> String {
730730
"MatchSource::IfLetDesugar {{ contains_else_clause: {} }}",
731731
contains_else_clause
732732
),
733+
hir::MatchSource::IfLetGuardDesugar => "MatchSource::IfLetGuardDesugar".to_string(),
733734
hir::MatchSource::IfDesugar { contains_else_clause } => format!(
734735
"MatchSource::IfDesugar {{ contains_else_clause: {} }}",
735736
contains_else_clause

0 commit comments

Comments
 (0)