Move doc-comment highlight injection from AST to HIR

This commit is contained in:
Lukas Wirth 2021-03-16 18:57:47 +01:00
parent a69f7ce312
commit 11e9bc60a2
6 changed files with 64 additions and 19 deletions

View file

@ -150,7 +150,7 @@ fn traverse(
WalkEvent::Enter(it) => it,
WalkEvent::Leave(it) => {
if let Some(node) = it.as_node() {
inject::doc_comment(hl, node);
inject::doc_comment(hl, sema, node);
}
continue;
}