mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
fix: Fix focus range being discarded in attributes/derives when upmapping
This commit is contained in:
parent
426d2842c1
commit
cf22f02dc5
2 changed files with 21 additions and 7 deletions
|
@ -220,6 +220,8 @@ pub enum MacroCallKind {
|
|||
},
|
||||
Attr {
|
||||
ast_id: AstId<ast::Item>,
|
||||
// FIXME: This is being interned, subtrees can very quickly differ just slightly causing
|
||||
// leakage problems here
|
||||
attr_args: Option<Arc<tt::Subtree>>,
|
||||
/// Syntactical index of the invoking `#[attribute]`.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue