mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-17 10:52:57 +00:00
Split variant_data into its own query
This commit is contained in:
parent
8e8d997304
commit
2ea09b2e47
26 changed files with 189 additions and 211 deletions
|
|
@ -428,7 +428,7 @@ impl<'a> Ctx<'a> {
|
|||
for (idx, attr) in attrs {
|
||||
self.add_attrs(
|
||||
AttrOwner::Field(
|
||||
FieldParent::Variant(FileItemTreeId(id)),
|
||||
FieldParent::EnumVariant(FileItemTreeId(id)),
|
||||
Idx::from_raw(RawIdx::from_u32(idx as u32)),
|
||||
),
|
||||
attr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue