1
Fork 0

UPDATE - move SessionDiagnostic from rustc_session to rustc_errors

This commit is contained in:
Jhonny Bill Mena 2022-09-07 09:36:08 -04:00
parent b79b7d8b4e
commit 5b8152807c
16 changed files with 33 additions and 30 deletions

View file

@ -3,9 +3,11 @@ use crate::query::plumbing::CycleError;
use crate::query::{QueryContext, QueryStackFrame};
use rustc_data_structures::fx::FxHashMap;
use rustc_errors::{Diagnostic, DiagnosticBuilder, ErrorGuaranteed, Handler, Level};
use rustc_errors::{
Diagnostic, DiagnosticBuilder, ErrorGuaranteed, Handler, Level, SessionDiagnostic,
};
use rustc_hir::def::DefKind;
use rustc_session::{Session, SessionDiagnostic};
use rustc_session::Session;
use rustc_span::Span;
use std::hash::Hash;