round-trippability of HIR
pretty printing
#60663
Labels
A-HIR
Area: The high-level intermediate representation (HIR)
A-pretty
Area: Pretty printing (including `-Z unpretty`)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Should it be possible to feed the output of
--unpretty=hir
back to rustc without requiring the user to do any changes? Right now this is only possible for very trivial code, and even then requires adding some feature gates.Any code with moderately complex expansions will require additional imports or touching the code. Some things I've noticed:
async fn
is broken #60661 (async fn, probably easily fixed)existential type
is broken #60662 (existential type, easily fixed)$crate
shows up in paths'_
lifetimes where there were inferred lifetimes in signatures beforeThe text was updated successfully, but these errors were encountered: