From c98987f39016cdceca56cdbe2bfac758d460b8d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Thu, 23 Aug 2018 21:41:30 +0200 Subject: [PATCH] fix clippy breakage due to https://github.com/rust-lang/rust/pull/52602 --- clippy_lints/src/utils/sugg.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/utils/sugg.rs b/clippy_lints/src/utils/sugg.rs index d513fb8bced7..3d587a72eec4 100644 --- a/clippy_lints/src/utils/sugg.rs +++ b/clippy_lints/src/utils/sugg.rs @@ -105,7 +105,6 @@ impl<'a> Sugg<'a> { ast::ExprKind::Block(..) | ast::ExprKind::Break(..) | ast::ExprKind::Call(..) | - ast::ExprKind::Catch(..) | ast::ExprKind::Continue(..) | ast::ExprKind::Yield(..) | ast::ExprKind::Field(..) | @@ -122,6 +121,7 @@ impl<'a> Sugg<'a> { ast::ExprKind::Ret(..) | ast::ExprKind::Struct(..) | ast::ExprKind::Try(..) | + ast::ExprKind::TryBlock(..) | ast::ExprKind::Tup(..) | ast::ExprKind::Array(..) | ast::ExprKind::While(..) |