Skip to content

Commit 8595618

Browse files
committed
---
yaml --- r: 228554 b: refs/heads/try c: e33b128 h: refs/heads/master v: v3
1 parent 49407a8 commit 8595618

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
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: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: f47d20aecdcd7db34d41ad1666fd3eee095cc943
4+
refs/heads/try: e33b128e01e1a5a2d23abac5b88274eea5cf9059
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/libsyntax/diagnostic.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,10 @@ impl Handler {
208208
}
209209
pub fn fatal(&self, msg: &str) -> ! {
210210
self.emit.borrow_mut().emit(None, msg, None, Fatal);
211+
212+
// Suppress the fatal error message from the panic below as we've
213+
// already terminated in our own "legitimate" fashion.
214+
io::set_panic(Box::new(io::sink()));
211215
panic!(FatalError);
212216
}
213217
pub fn err(&self, msg: &str) {

branches/try/src/libsyntax/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#![feature(libc)]
3333
#![feature(ref_slice)]
3434
#![feature(rustc_private)]
35+
#![feature(set_stdio)]
3536
#![feature(staged_api)]
3637
#![feature(str_char)]
3738
#![feature(str_escape)]

0 commit comments

Comments
 (0)