mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Move doc-comment highlight injection from AST to HIR
This commit is contained in:
parent
a69f7ce312
commit
11e9bc60a2
6 changed files with 64 additions and 19 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue