mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Add HighlightTag::Operator, use it for unsafe deref. Move unsafe validation to its own file
This commit is contained in:
parent
6c1682396c
commit
f678e0d837
11 changed files with 81 additions and 58 deletions
|
@ -25,9 +25,11 @@ use hir_expand::{
|
|||
use hir_ty::{
|
||||
autoderef,
|
||||
display::{HirDisplayError, HirFormatter},
|
||||
expr::{ExprValidator, UnsafeValidator},
|
||||
method_resolution, ApplicationTy, Canonical, GenericPredicate, InEnvironment, Substs,
|
||||
TraitEnvironment, Ty, TyDefId, TypeCtor,
|
||||
expr::ExprValidator,
|
||||
method_resolution,
|
||||
method_resolution, ApplicationTy, Canonical, InEnvironment, Substs, TraitEnvironment, Ty,
|
||||
TyDefId, TypeCtor,
|
||||
unsafe_validation::UnsafeValidator,
|
||||
};
|
||||
use ra_db::{CrateId, CrateName, Edition, FileId};
|
||||
use ra_prof::profile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue