Skip to content

Commit e3e4e46

Browse files
committed
---
yaml --- r: 79343 b: refs/heads/try c: 41a939a h: refs/heads/master i: 79341: 74ab38f 79339: aea9009 79335: 3f74982 79327: b551c56 v: v3
1 parent 8319651 commit e3e4e46

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: 3e6de6b7da8ee88bf84b0e217900051334be08da
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 60fba4d7d677ec098e6a43014132fe99f7547363
5-
refs/heads/try: 53a68814b645afa064e441aa3e855785abb20ea7
5+
refs/heads/try: 41a939aa5f0ae8d2864bff0bd17ffc2b8760688d
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)