UPDATE - Complete link.rs migration to new diagnostics infraestructure
This commit is contained in:
parent
6718ea1cff
commit
4c80f50fc6
4 changed files with 227 additions and 81 deletions
|
@ -13,6 +13,7 @@ use std::borrow::Cow;
|
|||
use std::fmt;
|
||||
use std::num::ParseIntError;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::process::ExitStatus;
|
||||
|
||||
pub struct DiagnosticArgFromDisplay<'a>(pub &'a dyn fmt::Display);
|
||||
|
||||
|
@ -66,7 +67,8 @@ into_diagnostic_arg_using_display!(
|
|||
ParseIntError,
|
||||
StackProtector,
|
||||
&TargetTriple,
|
||||
SplitDebuginfo
|
||||
SplitDebuginfo,
|
||||
ExitStatus,
|
||||
);
|
||||
|
||||
impl IntoDiagnosticArg for bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue