about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/assert
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-10-20 21:26:57 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-10-27 13:05:48 +0000
commit621494382da59e3a899a968e7d445170dd37ba1d (patch)
tree90f7d58cb716b2220815f764d303d616ba343e18 /compiler/rustc_builtin_macros/src/assert
parent14423080f1f9e9729d372f9b5da06c0ab4aef6e3 (diff)
downloadrust-621494382da59e3a899a968e7d445170dd37ba1d.tar.gz
rust-621494382da59e3a899a968e7d445170dd37ba1d.zip
Add gen blocks to ast and do some broken ast lowering
Diffstat (limited to 'compiler/rustc_builtin_macros/src/assert')
-rw-r--r--compiler/rustc_builtin_macros/src/assert/context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_builtin_macros/src/assert/context.rs b/compiler/rustc_builtin_macros/src/assert/context.rs
index 6733b9e56ad..2a4bfe9e200 100644
--- a/compiler/rustc_builtin_macros/src/assert/context.rs
+++ b/compiler/rustc_builtin_macros/src/assert/context.rs
@@ -294,7 +294,7 @@ impl<'cx, 'a> Context<'cx, 'a> {
             // sync with the `rfc-2011-nicer-assert-messages/all-expr-kinds.rs` test.
             ExprKind::Assign(_, _, _)
             | ExprKind::AssignOp(_, _, _)
-            | ExprKind::Async(_, _)
+            | ExprKind::Gen(_, _, _)
             | ExprKind::Await(_, _)
             | ExprKind::Block(_, _)
             | ExprKind::Break(_, _)