FIX - adopt new Diagnostic naming in newly migrated modules
FIX - ambiguous Diagnostic link in docs UPDATE - rename diagnostic_items to IntoDiagnostic and AddToDiagnostic [Gardening] FIX - formatting via `x fmt` FIX - rebase conflicts. NOTE: Confirm wheather or not we want to handle TargetDataLayoutErrorsWrapper this way DELETE - unneeded allow attributes in Handler method FIX - broken test FIX - Rebase conflict UPDATE - rename residual _SessionDiagnostic and fix LintDiag link
This commit is contained in:
parent
5f91719f75
commit
e52e2344dc
28 changed files with 88 additions and 127 deletions
|
@ -1,7 +1,7 @@
|
|||
use rustc_errors::AddToDiagnostic;
|
||||
use rustc_macros::{Diagnostic, Subdiagnostic};
|
||||
use rustc_session::Limit;
|
||||
use rustc_span::{Span, Symbol};
|
||||
use rustc_macros::{Diagnostic, Subdiagnostic};
|
||||
|
||||
pub struct CycleStack {
|
||||
pub span: Span,
|
||||
|
|
|
@ -4,7 +4,7 @@ use crate::query::{QueryContext, QueryStackFrame};
|
|||
|
||||
use rustc_data_structures::fx::FxHashMap;
|
||||
use rustc_errors::{
|
||||
Diagnostic, DiagnosticBuilder, IntoDiagnostic, ErrorGuaranteed, Handler, Level,
|
||||
Diagnostic, DiagnosticBuilder, ErrorGuaranteed, Handler, IntoDiagnostic, Level,
|
||||
};
|
||||
use rustc_hir::def::DefKind;
|
||||
use rustc_session::Session;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue