mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
internal: Expand the derive attribute into a pseudo expansion
This commit is contained in:
parent
1fe3b2edd6
commit
7b89d5ede2
17 changed files with 178 additions and 155 deletions
|
@ -361,7 +361,7 @@ fn traverse(
|
|||
syntactic_name_ref_highlighting,
|
||||
node,
|
||||
),
|
||||
NodeOrToken::Token(token) => highlight::token(sema, krate, token).zip(Some(None)),
|
||||
NodeOrToken::Token(token) => highlight::token(sema, token).zip(Some(None)),
|
||||
};
|
||||
if let Some((mut highlight, binding_hash)) = element {
|
||||
if inside_attribute {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue