Skip to content

Commit 6552338

Browse files
committed
Print errors with context; make coercions a library
Works around a cargo bug where `cargo rustdoc` does not pass flags to the rustdoc binary.
1 parent 5842d3e commit 6552338

File tree

2 files changed

+1
-3
lines changed
  • collector
    • benchmarks/coercions/src
    • src/bin/rustc-perf-collector

2 files changed

+1
-3
lines changed

collector/benchmarks/coercions/src/main.rs renamed to collector/benchmarks/coercions/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65573,5 +65573,3 @@ pub static MAPPING: [&'static str; 0xffff] = [
6557365573
"",
6557465574
"",
6557565575
];
65576-
65577-
fn main() { }

collector/src/bin/rustc-perf-collector/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ fn main() {
383383
match main_result() {
384384
Ok(code) => process::exit(code),
385385
Err(err) => {
386-
eprintln!("{}", err);
386+
eprintln!("{:#}", err);
387387
process::exit(1);
388388
}
389389
}

0 commit comments

Comments
 (0)