Skip to content

Commit 3e7734e

Browse files
committed
---
yaml --- r: 7271 b: refs/heads/master c: 793e3b2 h: refs/heads/master i: 7269: 5ed6c52 7267: b2990b1 7263: 7eafbb4 v: v3
1 parent 0b64b9c commit 3e7734e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: cb8eabab3da839b5f11f0041753f1bc1a9e73549
2+
refs/heads/master: 793e3b231c52e588c6783f5e0965eb0562f550b5

trunk/src/comp/driver/rustc.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,12 @@ fn monitor(f: fn~(diagnostic::emitter)) {
164164
none,
165165
diagnostic::ice_msg("unexpected failure"),
166166
diagnostic::error);
167+
let note = "The compiler hit an unexpected failure path. \
168+
This is a bug. Try running with \
169+
RUST_LOG=rustc=0,::rt::backtrace \
170+
to get further details and report the results \
171+
to github.com/mozilla/rust/issues";
172+
diagnostic::emit(none, note, diagnostic::note);
167173
}
168174
// Fail so the process returns a failure code
169175
fail;

0 commit comments

Comments
 (0)