feat: Resolve builtin-attr and tools in ide layer

This commit is contained in:
Lukas Wirth 2021-12-03 16:32:14 +01:00
parent 4691a0647b
commit e58af219a4
15 changed files with 209 additions and 99 deletions

View file

@ -263,6 +263,8 @@ fn module_def_to_hl_tag(def: Definition) -> HlTag {
hir::GenericParam::ConstParam(_) => SymbolKind::ConstParam,
},
Definition::Label(_) => SymbolKind::Label,
Definition::BuiltinAttr(_) => SymbolKind::Label, // FIXME
Definition::Tool(_) => SymbolKind::Label, // FIXME
};
HlTag::Symbol(symbol)
}