Closed thomasyonug closed 2 weeks ago
Comments are not preserved in the AST. -Zunpretty=expanded
and similar try to preserve comments by guessing where they should be placed. As you noticed this is always accurate. This is not a bug as comment preservation is best effort.
I tried this code:
I expected to see this happen:
Instead, this happened:
Meta
rustc --version --verbose
:Backtrace
```
```