about summary refs log tree commit diff
path: root/docs/dev/debugging.md
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-12-16 22:42:54 +0000
committerGitHub <noreply@github.com>2020-12-16 22:42:54 +0000
commit785860bd171da1a18aed78a5020732831596cd78 (patch)
treeda9ac7abc2f426dbe2783aa7a2a29e57d17cddf8 /docs/dev/debugging.md
parent067067a6c11bb5afda98f5af14bfdec4744e7812 (diff)
parent28b5334580e5814d102b006e310ca0d1f03cdd72 (diff)
downloadrust-785860bd171da1a18aed78a5020732831596cd78.tar.gz
rust-785860bd171da1a18aed78a5020732831596cd78.zip
Merge #6909
6909: Avoid querying attributes in item tree lowering r=jonas-schievink a=jonas-schievink

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.

bors r+

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Diffstat (limited to 'docs/dev/debugging.md')
0 files changed, 0 insertions, 0 deletions