structure the message
This commit is contained in:
parent
5c2a32296d
commit
842da5c1ae
2 changed files with 9 additions and 5 deletions
|
@ -1423,10 +1423,12 @@ pub fn build_target_config(
|
|||
}
|
||||
target
|
||||
}
|
||||
Err(e) => early_dcx.early_fatal(format!(
|
||||
"error loading target specification: {e}; \
|
||||
run `rustc --print target-list` for a list of built-in targets"
|
||||
)),
|
||||
Err(e) => {
|
||||
let mut err =
|
||||
early_dcx.early_struct_fatal(format!("error loading target specification: {e}"));
|
||||
err.help("run `rustc --print target-list` for a list of built-in targets");
|
||||
err.emit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue