diff options
| author | LeSeulArtichaut <leseulartichaut@gmail.com> | 2020-11-13 18:27:27 +0100 |
|---|---|---|
| committer | LeSeulArtichaut <leseulartichaut@gmail.com> | 2020-12-06 13:42:24 +0100 |
| commit | f3d4aa6afbad980da62b20cd4583079be7d62104 (patch) | |
| tree | 6d24f04e766861f077338af0be9e5c137d483206 /src/tools/clippy | |
| parent | bab20800f0e7e6252c5c0da0a7a1ba123785cbca (diff) | |
| download | rust-f3d4aa6afbad980da62b20cd4583079be7d62104.tar.gz rust-f3d4aa6afbad980da62b20cd4583079be7d62104.zip | |
Implement lowering of if-let guards to MIR
Diffstat (limited to 'src/tools/clippy')
| -rw-r--r-- | src/tools/clippy/clippy_lints/src/utils/author.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/clippy/clippy_lints/src/utils/author.rs b/src/tools/clippy/clippy_lints/src/utils/author.rs index 7250de3a41c..135f289a2b3 100644 --- a/src/tools/clippy/clippy_lints/src/utils/author.rs +++ b/src/tools/clippy/clippy_lints/src/utils/author.rs @@ -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 |
