diff options
author | Jonas Schievink <[email protected]> | 2020-12-16 22:42:03 +0000 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-12-16 22:42:03 +0000 |
commit | 28b5334580e5814d102b006e310ca0d1f03cdd72 (patch) | |
tree | da9ac7abc2f426dbe2783aa7a2a29e57d17cddf8 /crates/ide/src/syntax_tree.rs | |
parent | 067067a6c11bb5afda98f5af14bfdec4744e7812 (diff) |
Avoid querying attributes in item tree lowering
ItemTree is per-file, so there is no unique crate associated with it.
This means that it cannot know the active CfgOptions and thus couldn't
handle `cfg_attr`.
Prepare it for `cfg_attr`s by avoiding accessing attributes.
Diffstat (limited to 'crates/ide/src/syntax_tree.rs')
0 files changed, 0 insertions, 0 deletions