introduce completion presentation

This module should remove completion rendering boilerplate from the
"brains" of completion engine.
This commit is contained in:
Aleksey Kladov 2019-02-24 18:51:38 +03:00
parent 67528c4b39
commit d0a261468e
5 changed files with 42 additions and 33 deletions

View file

@ -55,7 +55,7 @@ pub use self::{
ids::{HirFileId, MacroCallId, MacroCallLoc, HirInterner},
macros::{MacroDef, MacroInput, MacroExpansion},
nameres::{ItemMap, PerNs, Namespace},
ty::Ty,
ty::{Ty, Substs},
impl_block::{ImplBlock, ImplItem},
docs::{Docs, Documentation},
adt::AdtDef,