From 8d305680e6560debaf7868c160112e07a7bea8a0 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Tue, 2 Mar 2021 14:41:01 +0100 Subject: Show docs on hover for keywords and primitives --- crates/hir/src/lib.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'crates/hir/src/lib.rs') diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index 769945c47..69fcdab07 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs @@ -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, -- cgit v1.2.3