File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ impl codemap_handler of handler for handler_t {
105
105
}
106
106
107
107
fn ice_msg ( msg : str ) -> str {
108
- #fmt[ "internal compiler error %s" , msg]
108
+ #fmt[ "internal compiler error: %s" , msg]
109
109
}
110
110
111
111
fn mk_span_handler ( handler : handler , cm : codemap:: codemap ) -> span_handler {
Original file line number Diff line number Diff line change @@ -215,12 +215,18 @@ fn monitor(f: fn~(diagnostic::emitter)) {
215
215
none,
216
216
diagnostic:: ice_msg ( "unexpected failure" ) ,
217
217
diagnostic:: error) ;
218
- let note = "The compiler hit an unexpected failure path. \
219
- This is a bug. Try running with \
220
- RUST_LOG=rustc=0,::rt::backtrace \
221
- to get further details and report the results \
222
- to github.com/mozilla/rust/issues";
223
- diagnostic:: emit ( none, note, diagnostic:: note) ;
218
+
219
+ for [
220
+
221
+ "the compiler hit an unexpected failure path. \
222
+ this is a bug",
223
+ "try running with RUST_LOG=rustc=0,::rt::backtrace \
224
+ to get further details and report the results \
225
+ to github.com/mozilla/rust/issues"
226
+
227
+ ] . each { |note|
228
+ diagnostic:: emit( none, note, diagnostic:: note)
229
+ }
224
230
}
225
231
// Fail so the process returns a failure code
226
232
fail;
You can’t perform that action at this time.
0 commit comments