Function rustc_expand::base::pretty_printing_compatibility_hack
source · fn pretty_printing_compatibility_hack(item: &Item, sess: &ParseSess) -> bool
Expand description
This nonterminal looks like some specific enums from
proc-macro-hack
and procedural-masquerade
crates.
We need to maintain some special pretty-printing behavior for them due to incorrect
asserts in old versions of those crates and their wide use in the ecosystem.
See issue #73345 for more details.
FIXME(#73933): Remove this eventually.