diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2024-01-03 12:09:11 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2024-01-03 12:15:28 +0100 |
| commit | cf22f02dc501cd515e9aa3fb36b01f6adb1567cd (patch) | |
| tree | df1dab2582a73da195f9cf90fcc9fd1dbfdf4d7e /crates/hir-expand/src/lib.rs | |
| parent | 426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746 (diff) | |
| download | rust-cf22f02dc501cd515e9aa3fb36b01f6adb1567cd.tar.gz rust-cf22f02dc501cd515e9aa3fb36b01f6adb1567cd.zip | |
fix: Fix focus range being discarded in attributes/derives when upmapping
Diffstat (limited to 'crates/hir-expand/src/lib.rs')
| -rw-r--r-- | crates/hir-expand/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/hir-expand/src/lib.rs b/crates/hir-expand/src/lib.rs index b5197d4c25d..6a122e0859c 100644 --- a/crates/hir-expand/src/lib.rs +++ b/crates/hir-expand/src/lib.rs @@ -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]`. /// |
