From: Niko Matsakis Date: Tue, 17 Sep 2019 08:44:35 +0000 (-0400) Subject: use drop-temps { .. } pseudo-notation X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=716b2bcfb36111ea8afb49d289ddfba2b62a7b8e;p=rust.git use drop-temps { .. } pseudo-notation DropTemps(...) looks like a function, this looks like wacko special stuff --- diff --git a/src/librustc/hir/lowering/expr.rs b/src/librustc/hir/lowering/expr.rs index ef0bef9d569..990728fa0e6 100644 --- a/src/librustc/hir/lowering/expr.rs +++ b/src/librustc/hir/lowering/expr.rs @@ -351,7 +351,7 @@ fn lower_expr_while_in_loop_scope( // // ``` // 'label: loop { - // match DropTemps($cond) { + // match drop-temps { $cond } { // true => $body, // _ => break, // }