Skip to content

Commit dda6566

Browse files
authored
Merge pull request #3077 from matthiaskrgr/rustup_2
fix clippy breakage due to rust-lang/rust#52602
2 parents e9c3d3d + c98987f commit dda6566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/sugg.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ impl<'a> Sugg<'a> {
105105
ast::ExprKind::Block(..) |
106106
ast::ExprKind::Break(..) |
107107
ast::ExprKind::Call(..) |
108-
ast::ExprKind::Catch(..) |
109108
ast::ExprKind::Continue(..) |
110109
ast::ExprKind::Yield(..) |
111110
ast::ExprKind::Field(..) |
@@ -122,6 +121,7 @@ impl<'a> Sugg<'a> {
122121
ast::ExprKind::Ret(..) |
123122
ast::ExprKind::Struct(..) |
124123
ast::ExprKind::Try(..) |
124+
ast::ExprKind::TryBlock(..) |
125125
ast::ExprKind::Tup(..) |
126126
ast::ExprKind::Array(..) |
127127
ast::ExprKind::While(..) |

0 commit comments

Comments
 (0)