commit | 716b2bcfb36111ea8afb49d289ddfba2b62a7b8e | [log] [tgz] |
---|---|---|
author | Niko Matsakis <niko@alum.mit.edu> | Tue Sep 17 04:44:35 2019 -0400 |
committer | Niko Matsakis <niko@alum.mit.edu> | Tue Sep 17 05:10:22 2019 -0400 |
tree | e894a45e8a40b03af12a566f490924eee3726a71 | |
parent | 0a11e80fa83cd3ace4ca306531d84a6c8138d549 [diff] |
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 ef0bef9..990728f 100644 --- a/src/librustc/hir/lowering/expr.rs +++ b/src/librustc/hir/lowering/expr.rs
@@ -351,7 +351,7 @@ // // ``` // 'label: loop { - // match DropTemps($cond) { + // match drop-temps { $cond } { // true => $body, // _ => break, // }