mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Show docs on hover for keywords and primitives
This commit is contained in:
parent
f5c25f6b83
commit
8d305680e6
4 changed files with 139 additions and 19 deletions
|
@ -33,11 +33,11 @@ mod has_source;
|
|||
pub use crate::{
|
||||
attrs::{HasAttrs, Namespace},
|
||||
code_model::{
|
||||
Access, Adt, AsAssocItem, AssocItem, AssocItemContainer, Callable, CallableKind, Const,
|
||||
ConstParam, Crate, CrateDependency, DefWithBody, Enum, Field, FieldSource, Function,
|
||||
GenericDef, GenericParam, HasVisibility, Impl, Label, LifetimeParam, Local, MacroDef,
|
||||
Module, ModuleDef, ScopeDef, Static, Struct, Trait, Type, TypeAlias, TypeParam, Union,
|
||||
Variant, VariantDef,
|
||||
Access, Adt, AsAssocItem, AssocItem, AssocItemContainer, BuiltinType, Callable,
|
||||
CallableKind, Const, ConstParam, Crate, CrateDependency, DefWithBody, Enum, Field,
|
||||
FieldSource, Function, GenericDef, GenericParam, HasVisibility, Impl, Label, LifetimeParam,
|
||||
Local, MacroDef, Module, ModuleDef, ScopeDef, Static, Struct, Trait, Type, TypeAlias,
|
||||
TypeParam, Union, Variant, VariantDef,
|
||||
},
|
||||
has_source::HasSource,
|
||||
semantics::{PathResolution, Semantics, SemanticsScope},
|
||||
|
@ -47,7 +47,6 @@ pub use hir_def::{
|
|||
adt::StructKind,
|
||||
attr::{Attrs, Documentation},
|
||||
body::scope::ExprScopes,
|
||||
builtin_type::BuiltinType,
|
||||
find_path::PrefixKind,
|
||||
import_map,
|
||||
item_scope::ItemInNs,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue