Merge pull request #3077 from matthiaskrgr/rustup_2

fix clippy breakage due to https://github.com/rust-lang/rust/pull/52602
This commit is contained in:
Philipp Krones 2018-08-23 23:29:00 +02:00 committed by GitHub
commit dda656652e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,7 +105,6 @@ impl<'a> Sugg<'a> {
ast::ExprKind::Block(..) | ast::ExprKind::Block(..) |
ast::ExprKind::Break(..) | ast::ExprKind::Break(..) |
ast::ExprKind::Call(..) | ast::ExprKind::Call(..) |
ast::ExprKind::Catch(..) |
ast::ExprKind::Continue(..) | ast::ExprKind::Continue(..) |
ast::ExprKind::Yield(..) | ast::ExprKind::Yield(..) |
ast::ExprKind::Field(..) | ast::ExprKind::Field(..) |
@ -122,6 +121,7 @@ impl<'a> Sugg<'a> {
ast::ExprKind::Ret(..) | ast::ExprKind::Ret(..) |
ast::ExprKind::Struct(..) | ast::ExprKind::Struct(..) |
ast::ExprKind::Try(..) | ast::ExprKind::Try(..) |
ast::ExprKind::TryBlock(..) |
ast::ExprKind::Tup(..) | ast::ExprKind::Tup(..) |
ast::ExprKind::Array(..) | ast::ExprKind::Array(..) |
ast::ExprKind::While(..) | ast::ExprKind::While(..) |