Support ast::ExprKind::Become in clippy

This commit is contained in:
Maybe Waffle 2023-06-19 12:22:02 +00:00
parent 0355d41fd8
commit b967f5c30d

View File

@ -211,6 +211,7 @@ impl<'a> Sugg<'a> {
| ast::ExprKind::Path(..) | ast::ExprKind::Path(..)
| ast::ExprKind::Repeat(..) | ast::ExprKind::Repeat(..)
| ast::ExprKind::Ret(..) | ast::ExprKind::Ret(..)
| ast::ExprKind::Become(..)
| ast::ExprKind::Yeet(..) | ast::ExprKind::Yeet(..)
| ast::ExprKind::FormatArgs(..) | ast::ExprKind::FormatArgs(..)
| ast::ExprKind::Struct(..) | ast::ExprKind::Struct(..)