aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/join_lines.rs
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2020-12-16 22:42:03 +0000
committerJonas Schievink <[email protected]>2020-12-16 22:42:03 +0000
commit28b5334580e5814d102b006e310ca0d1f03cdd72 (patch)
treeda9ac7abc2f426dbe2783aa7a2a29e57d17cddf8 /crates/ide/src/join_lines.rs
parent067067a6c11bb5afda98f5af14bfdec4744e7812 (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/join_lines.rs')
0 files changed, 0 insertions, 0 deletions