mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-14 17:07:26 +00:00
d469e0de9a
internal: Use ItemTree for variant, field and module attribute collection in attrs_query Less parsing = very good, should speed up lang item collection as that basically probes attributes of all enum variants which currently triggers parsing Not fond of how this is searching for the correct index, ideally we'd map between HIR and item tree Id here but I am not sure how, storing the item tree ids in the HIR version doesn't work due to the usage of `Trace`... |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |