mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Move docs to hir_def
This commit is contained in:
parent
8692977d27
commit
958862093e
11 changed files with 118 additions and 134 deletions
|
@ -50,9 +50,8 @@ mod marks;
|
|||
|
||||
pub use crate::{
|
||||
code_model::{
|
||||
docs::{DocDef, Docs, Documentation},
|
||||
src::{HasBodySource, HasSource},
|
||||
Adt, AssocItem, AttrDef, Const, Container, Crate, CrateDependency, DefWithBody, Enum,
|
||||
Adt, AssocItem, AttrDef, Const, Container, Crate, CrateDependency, DefWithBody, Docs, Enum,
|
||||
EnumVariant, FieldSource, Function, GenericDef, GenericParam, HasAttrs, HasBody, ImplBlock,
|
||||
Local, MacroDef, Module, ModuleDef, ModuleSource, ScopeDef, Static, Struct, StructField,
|
||||
Trait, TypeAlias, Union, VariantDef,
|
||||
|
@ -70,6 +69,7 @@ pub use crate::{
|
|||
|
||||
pub use hir_def::{
|
||||
builtin_type::BuiltinType,
|
||||
docs::Documentation,
|
||||
nameres::{per_ns::PerNs, raw::ImportId},
|
||||
path::{Path, PathKind},
|
||||
type_ref::Mutability,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue