mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Stronger typing for AstId and AstIdMap
This commit is contained in:
parent
45272efec5
commit
8886d707b8
10 changed files with 102 additions and 50 deletions
|
@ -754,7 +754,7 @@ fn emit_def_diagnostic_(
|
|||
let item = ast.to_node(db.upcast());
|
||||
acc.push(
|
||||
InactiveCode {
|
||||
node: ast.with_value(AstPtr::new(&item).into()),
|
||||
node: ast.with_value(SyntaxNodePtr::new(&item).into()),
|
||||
cfg: cfg.clone(),
|
||||
opts: opts.clone(),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue