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/syntax/test_data/parser/fragments/pattern | |
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/syntax/test_data/parser/fragments/pattern')
0 files changed, 0 insertions, 0 deletions