ADD - IntoDiagnostic conformance for TargetDataLayoutErrors in rustc_errors
This way we comply with the Coherence rule given that IntoDiagnostic trait is defined in rustc_errors, and almost all other crates depend on it.
This commit is contained in:
parent
c0983a9aac
commit
5645cd5b09
8 changed files with 70 additions and 72 deletions
|
@ -51,6 +51,7 @@ use termcolor::{Color, ColorSpec};
|
|||
pub mod annotate_snippet_emitter_writer;
|
||||
mod diagnostic;
|
||||
mod diagnostic_builder;
|
||||
mod diagnostic_impls;
|
||||
pub mod emitter;
|
||||
pub mod json;
|
||||
mod lock;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue