mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 11:17:26 +03:00
fix clippy breakage due to https://github.com/rust-lang/rust/pull/52602
This commit is contained in:
@@ -105,7 +105,6 @@ pub fn ast(cx: &EarlyContext<'_>, expr: &ast::Expr, default: &'a str) -> Self {
|
||||
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 @@ pub fn ast(cx: &EarlyContext<'_>, expr: &ast::Expr, default: &'a str) -> Self {
|
||||
ast::ExprKind::Ret(..) |
|
||||
ast::ExprKind::Struct(..) |
|
||||
ast::ExprKind::Try(..) |
|
||||
ast::ExprKind::TryBlock(..) |
|
||||
ast::ExprKind::Tup(..) |
|
||||
ast::ExprKind::Array(..) |
|
||||
ast::ExprKind::While(..) |
|
||||
|
||||
Reference in New Issue
Block a user