Skip to content

Commit a8b3566

Browse files
committed
---
yaml --- r: 165407 b: refs/heads/master c: 9115b31 h: refs/heads/master i: 165405: 1c01f17 165403: 06cf35e 165399: d03a1e6 165391: 578bc58 165375: 910c019 v: v3
1 parent cc305cc commit a8b3566

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: fb3e871734957d83aab0cc55d45be7d75d6a7b15
2+
refs/heads/master: 9115b319c31d644f01387c9fe3eff9a498941090
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 658529467d9d69ac9e09cacf98a6d61d781c2c76
55
refs/heads/try: aee614fc4973262a5a68efc643026e2b1458d65b

trunk/src/librustc_trans/trans/base.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,8 @@ fn build_cfg(tcx: &ty::ctxt, id: ast::NodeId) -> (ast::NodeId, Option<cfg::CFG>)
13811381
_ => tcx.sess.bug("unexpected expr variant in has_nested_returns")
13821382
}
13831383
}
1384-
Some(ast_map::NodeVariant(..)) | Some(ast_map::NodeStructCtor(..)) => return (ast::DUMMY_NODE_ID, None),
1384+
Some(ast_map::NodeVariant(..)) |
1385+
Some(ast_map::NodeStructCtor(..)) => return (ast::DUMMY_NODE_ID, None),
13851386

13861387
// glue, shims, etc
13871388
None if id == ast::DUMMY_NODE_ID => return (ast::DUMMY_NODE_ID, None),

trunk/src/librustc_trans/trans/controlflow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ pub fn trans_block<'blk, 'tcx>(bcx: Block<'blk, 'tcx>,
112112

113113
if dest != expr::Ignore {
114114
let block_ty = node_id_type(bcx, b.id);
115-
115+
116116
if b.expr.is_none() || type_is_zero_size(bcx.ccx(), block_ty) {
117117
dest = expr::Ignore;
118118
} else if b.expr.is_some() {

trunk/src/librustc_trans/trans/expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ fn trans_rvalue_stmt_unadjusted<'blk, 'tcx>(bcx: Block<'blk, 'tcx>,
944944
// it won't actually be used anyway.
945945
if let &Some(ref x) = ex {
946946
bcx = trans_into(bcx, &**x, Ignore);
947-
}
947+
}
948948
bcx
949949
}
950950
}

0 commit comments

Comments
 (0)