-Zunpretty=expanded
output may not contain global_asm!
depending on comments/whitespace/...
#101051
Labels
A-pretty
Area: Pretty printing (including `-Z unpretty`)
C-bug
Category: This is a bug.
requires-nightly
This issue requires a nightly compiler in some way.
Consider:
(Note: the
//
line is important)RUSTC_BOOTSTRAP=1 rustc --edition=2021 --crate-type rlib -Zunpretty=expanded a.rs > a.rsi
This generates lines like:
(See related issue #101047 for the lack of semicolon and path).
However, removing the comment line:
Makes the
global_asm!
disappear in the output.I have also observed similar problems with whitespace, e.g.:
vs.
Meta
Reproduces in both stable (1.63.0) and nightly.
The text was updated successfully, but these errors were encountered: