Skip to content

Commit d08f2bf

Browse files
committed
---
yaml --- r: 79731 b: refs/heads/try c: cd4e637 h: refs/heads/master i: 79729: 37564eb 79727: 1616e11 v: v3
1 parent f300c7e commit d08f2bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: ba9fa89bfb4aae53db93e9ecac31807af96356fc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 54ae2800ffb30513f89ce13d27ac3c8d095d98ac
5-
refs/heads/try: d876a721d2efa7cbf7b0224c396a5da9079a8d5d
5+
refs/heads/try: cd4e637ae4113d4c49a2e5c533b5bf48fbf7cc6e
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libsyntax/fold.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ pub fn noop_fold_expr(e: &Expr_, fld: @ast_fold) -> Expr_ {
545545
ExprDoBody(f) => ExprDoBody(fld.fold_expr(f)),
546546
ExprLit(_) => (*e).clone(),
547547
ExprCast(expr, ref ty) => {
548-
ExprCast(fld.fold_expr(expr), (*ty).clone())
548+
ExprCast(fld.fold_expr(expr), fld.fold_ty(ty))
549549
}
550550
ExprAddrOf(m, ohs) => ExprAddrOf(m, fld.fold_expr(ohs)),
551551
ExprIf(cond, ref tr, fl) => {

0 commit comments

Comments
 (0)