Skip to content

Commit c195762

Browse files
committed
---
yaml --- r: 55176 b: refs/heads/snap-stage3 c: 0b377e5 h: refs/heads/master v: v3
1 parent 57e6533 commit c195762

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 9d966aef060030b1d13a55f6768a8e3afb9a842f
4+
refs/heads/snap-stage3: 0b377e53a1f1475e3b13427a1af8432924a0a586
55
refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/mk/clean.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ clean-misc:
4848
$(Q)rm -f $(RUSTLLVM_LIB_OBJS) $(RUSTLLVM_OBJS_OBJS) $(RUSTLLVM_DEF)
4949
$(Q)rm -Rf $(DOCS)
5050
$(Q)rm -Rf $(GENERATED)
51-
$(Q)rm -f tmp/*.log tmp/*.rc tmp/*.rs tmp/*.ok
51+
$(Q)rm -f tmp/*
5252
$(Q)rm -Rf rust-stage0-*.tar.bz2 $(PKG_NAME)-*.tar.gz dist
5353
$(Q)rm -Rf $(foreach ext, \
5454
html aux cp fn ky log pdf pg toc tp vr cps, \

branches/snap-stage3/src/librustc/middle/trans/adt.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,8 @@ pub fn num_args(r: &Repr, discr: int) -> uint {
409409
st.fields.len() - (if dtor { 1 } else { 0 })
410410
}
411411
General(ref cases) => cases[discr as uint].fields.len() - 1,
412-
NullablePointer{ nonnull: ref nonnull, nndiscr, nullfields: ref nullfields, _ } => {
413-
if discr == nndiscr { nonnull.fields.len() } else { nullfields.len() }
412+
NullablePointer{ nonnull: ref nonnull, nndiscr, _ } => {
413+
if discr == nndiscr { nonnull.fields.len() } else { 0 }
414414
}
415415
}
416416
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -8,9 +8,15 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// xfail-win32
12+
// error-pattern:ran out of stack
13+
14+
// Test that the task fails after hitting the recursion limit, but
15+
// that it doesn't bring down the whole proc
16+
1117
pub fn main() {
12-
match Left(@17) {
13-
Right(()) => {}
14-
_ => {}
15-
}
18+
do task::spawn_unlinked {
19+
fn f() { f() };
20+
f();
21+
};
1622
}

0 commit comments

Comments
 (0)