diff options
| author | bors <bors@rust-lang.org> | 2023-05-01 03:47:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-01 03:47:09 +0000 |
| commit | 2034b6d23ca18311a23273f2f08c381a04fa05d9 (patch) | |
| tree | 0a3a4181685b77abfe80c67c7afa3c759ed0adb9 /compiler/rustc_builtin_macros/src/assert/context.rs | |
| parent | 9ecda8de85ce893cc3fc748ab06be0b8250147a7 (diff) | |
| parent | 9de14d894b7483c521a7fdfa86301b760f36c3a7 (diff) | |
| download | rust-2034b6d23ca18311a23273f2f08c381a04fa05d9.tar.gz rust-2034b6d23ca18311a23273f2f08c381a04fa05d9.zip | |
Auto merge of #111040 - matthiaskrgr:rollup-g2sns0f, r=matthiaskrgr
Rollup of 6 pull requests Successful merges: - #110823 (Tweak await span to not contain dot) - #111015 (Remove wrong assertion in match checking.) - #111023 (Test precise capture with a multi-variant enum and exhaustive patterns) - #111032 (Migrate `builtin_macros::asm` diagnostics to translatable diagnostics) - #111033 (Ping Nadrieril when changing exhaustiveness checking) - #111037 (Close parentheses for `offset_of` in AST pretty printing) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_builtin_macros/src/assert/context.rs')
| -rw-r--r-- | compiler/rustc_builtin_macros/src/assert/context.rs | 2 |
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 090e00616fb..bd3f148c9a7 100644 --- a/compiler/rustc_builtin_macros/src/assert/context.rs +++ b/compiler/rustc_builtin_macros/src/assert/context.rs @@ -288,7 +288,7 @@ impl<'cx, 'a> Context<'cx, 'a> { ExprKind::Assign(_, _, _) | ExprKind::AssignOp(_, _, _) | ExprKind::Async(_, _) - | ExprKind::Await(_) + | ExprKind::Await(_, _) | ExprKind::Block(_, _) | ExprKind::Break(_, _) | ExprKind::Closure(_) |
