mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Move diagnostics to hir_expand
This commit is contained in:
parent
b8533413cf
commit
13735d91a7
8 changed files with 107 additions and 89 deletions
|
@ -11,14 +11,16 @@ use hir_def::{
|
|||
type_ref::{Mutability, TypeRef},
|
||||
CrateModuleId, LocalEnumVariantId, LocalStructFieldId, ModuleId,
|
||||
};
|
||||
use hir_expand::name::{self, AsName};
|
||||
use hir_expand::{
|
||||
diagnostics::DiagnosticSink,
|
||||
name::{self, AsName},
|
||||
};
|
||||
use ra_db::{CrateId, Edition};
|
||||
use ra_syntax::ast::{self, NameOwner, TypeAscriptionOwner};
|
||||
|
||||
use crate::{
|
||||
adt::VariantDef,
|
||||
db::{AstDatabase, DefDatabase, HirDatabase},
|
||||
diagnostics::DiagnosticSink,
|
||||
expr::{validation::ExprValidator, Body, BodySourceMap},
|
||||
generics::HasGenericParams,
|
||||
ids::{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue