mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
move builtin types to hir_def
This commit is contained in:
parent
6f4d5f7339
commit
b20d37cb49
8 changed files with 88 additions and 78 deletions
|
@ -2,6 +2,7 @@
|
|||
use std::sync::Arc;
|
||||
|
||||
use hir_def::{
|
||||
builtin_type::BuiltinType,
|
||||
path::{Path, PathKind},
|
||||
CrateModuleId,
|
||||
};
|
||||
|
@ -18,8 +19,7 @@ use crate::{
|
|||
generics::GenericParams,
|
||||
impl_block::ImplBlock,
|
||||
nameres::{CrateDefMap, PerNs},
|
||||
Adt, BuiltinType, Const, Enum, EnumVariant, Function, MacroDef, ModuleDef, Static, Struct,
|
||||
Trait, TypeAlias,
|
||||
Adt, Const, Enum, EnumVariant, Function, MacroDef, ModuleDef, Static, Struct, Trait, TypeAlias,
|
||||
};
|
||||
|
||||
#[derive(Debug, Clone, Default)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue