mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Consolidate hir diagnostics code in one place
This commit is contained in:
parent
c6f3540121
commit
1fdbf81181
8 changed files with 18 additions and 19 deletions
|
@ -24,12 +24,10 @@ use hir_expand::{
|
|||
};
|
||||
use hir_ty::{
|
||||
autoderef,
|
||||
diagnostics::{expr::ExprValidator, unsafe_check::UnsafeValidator},
|
||||
display::{HirDisplayError, HirFormatter},
|
||||
expr::ExprValidator,
|
||||
method_resolution,
|
||||
unsafe_validation::UnsafeValidator,
|
||||
ApplicationTy, Canonical, GenericPredicate, InEnvironment, Substs, TraitEnvironment, Ty,
|
||||
TyDefId, TypeCtor,
|
||||
method_resolution, ApplicationTy, Canonical, GenericPredicate, InEnvironment, Substs,
|
||||
TraitEnvironment, Ty, TyDefId, TypeCtor,
|
||||
};
|
||||
use ra_db::{CrateId, Edition, FileId};
|
||||
use ra_prof::profile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue