Nicholas Nethercote
e37c367482
Improve pretty printing of if/else.
...
By removing some of the over-indenting. AST pretty printing now looks
correct. HIR pretty printing is better, but still over-indents some.
2025-04-25 14:33:16 +10:00
Nicholas Nethercote
ee43aa356a
Fix some pretty printing indents.
...
Indents for `cbox` and `ibox` are 0 or `INDENT_UNIT` (4) except for a
couple of places which are `INDENT_UNIT - 1` for no clear reason.
This commit changes the three space indents to four spaces.
2025-04-25 14:33:16 +10:00
Lukas Wirth
20ab952b4d
Explicitly annotate edition for unpretty=expanded and unpretty=hir tests
...
These emit prelude imports which means they are always edition dependent
2025-04-16 11:10:10 +02:00
Asuna
ef69c3001b
Fix proc_macro::quote! for raw ident
2025-01-09 22:16:21 +01:00
Asuna
e9063c36a9
Migrate basic tests for proc_macro::quote! from quote crate
2025-01-09 22:16:20 +01:00