mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-29 19:17:12 +00:00
internal: Restructure some semantics APIs for virtual macro files
This commit is contained in:
parent
f0e39c77cc
commit
38bf4b1fe1
12 changed files with 185 additions and 79 deletions
|
|
@ -542,7 +542,7 @@ fn descend_token(
|
|||
|
||||
let mut t = None;
|
||||
let mut r = 0;
|
||||
sema.descend_into_macros_breakable(token.clone(), |tok, _ctx| {
|
||||
sema.descend_into_macros_breakable(token.clone().into(), |tok, _ctx| {
|
||||
// FIXME: Consider checking ctx transparency for being opaque?
|
||||
let my_rank = ranker.rank_token(&tok.value);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue