Skip to content

Commit

Permalink
Implement lowering of if-let guards to MIR
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSeulArtichaut committed Dec 6, 2020
1 parent 3be53bc commit 402f55f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clippy_lints/src/utils/author.rs
Expand Up @@ -730,6 +730,7 @@ fn desugaring_name(des: hir::MatchSource) -> String {
"MatchSource::IfLetDesugar {{ contains_else_clause: {} }}",
contains_else_clause
),
hir::MatchSource::IfLetGuardDesugar => "MatchSource::IfLetGuardDesugar".to_string(),
hir::MatchSource::IfDesugar { contains_else_clause } => format!(
"MatchSource::IfDesugar {{ contains_else_clause: {} }}",
contains_else_clause
Expand Down

0 comments on commit 402f55f

Please sign in to comment.