1
Fork 0

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:
Jhonny Bill Mena 2022-10-04 20:56:05 -04:00
parent c0983a9aac
commit 5645cd5b09
8 changed files with 70 additions and 72 deletions

View file

@ -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;