Skip to content

Commit b16ac4c

Browse files
committed
Use brief format for optimization remarks
1 parent 0206312 commit b16ac4c

File tree

1 file changed

+2
-7
lines changed
  • compiler/rustc_codegen_llvm/src/back

1 file changed

+2
-7
lines changed

compiler/rustc_codegen_llvm/src/back/write.rs

+2-7
Original file line numberDiff line numberDiff line change
@@ -337,13 +337,8 @@ unsafe extern "C" fn diagnostic_handler(info: &DiagnosticInfo, user: *mut c_void
337337

338338
if enabled {
339339
diag_handler.note_without_error(&format!(
340-
"optimization {} for {} at {}:{}:{}: {}",
341-
opt.kind.describe(),
342-
opt.pass_name,
343-
opt.filename,
344-
opt.line,
345-
opt.column,
346-
opt.message
340+
"{}:{}:{}: {}: {}",
341+
opt.filename, opt.line, opt.column, opt.pass_name, opt.message,
347342
));
348343
}
349344
}

0 commit comments

Comments
 (0)