]> git.lizzy.rs Git - rust.git/commitdiff
Fix the clippy build
authorScott McMurray <scottmcm@users.noreply.github.com>
Mon, 25 Apr 2022 02:08:23 +0000 (19:08 -0700)
committerScott McMurray <scottmcm@users.noreply.github.com>
Sun, 1 May 2022 00:40:29 +0000 (17:40 -0700)
clippy_utils/src/sugg.rs

index 1fc9979f3dd7de45db66a7dd5eb6fd8a48506841..794d2e1026f8c7013de5515b02b2610ddace3365 100644 (file)
@@ -214,6 +214,7 @@ pub fn ast(cx: &EarlyContext<'_>, expr: &ast::Expr, default: &'a str) -> Self {
             | ast::ExprKind::Path(..)
             | ast::ExprKind::Repeat(..)
             | ast::ExprKind::Ret(..)
+            | ast::ExprKind::Yeet(..)
             | ast::ExprKind::Struct(..)
             | ast::ExprKind::Try(..)
             | ast::ExprKind::TryBlock(..)