We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb8eaba commit 793e3b2Copy full SHA for 793e3b2
src/comp/driver/rustc.rs
@@ -164,6 +164,12 @@ fn monitor(f: fn~(diagnostic::emitter)) {
164
none,
165
diagnostic::ice_msg("unexpected failure"),
166
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);
173
}
174
// Fail so the process returns a failure code
175
fail;
0 commit comments