lint: LintDiagnosticBuilder
into rustc_errors
Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
parent
84ec77769f
commit
2874f09534
10 changed files with 39 additions and 42 deletions
|
@ -373,7 +373,7 @@ pub use diagnostic::{
|
|||
AddSubdiagnostic, Diagnostic, DiagnosticArg, DiagnosticArgValue, DiagnosticId,
|
||||
DiagnosticStyledString, IntoDiagnosticArg, SubDiagnostic,
|
||||
};
|
||||
pub use diagnostic_builder::{DiagnosticBuilder, EmissionGuarantee};
|
||||
pub use diagnostic_builder::{DiagnosticBuilder, EmissionGuarantee, LintDiagnosticBuilder};
|
||||
use std::backtrace::Backtrace;
|
||||
|
||||
/// A handler deals with errors and other compiler output.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue