mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 01:26:32 +00:00
Overhaul `CfgTrace`/`CfgAttrTrace` handling I noticed that `AttrItemKind` was a bit clunky and by the time I was finished I had a PR that: - removes `AttrItemKind`; - removes `sym::cfg_trace` and `sym::cfg_attr_trace`; - overhauls how these attributes are handled; - changes the terminology used for these attributes; - fixes some erroneous comments; - and a few other small improvements. It's a sizeable change but I think it makes things a lot clearer. Details in individual commits. r? @petrochenkov