diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-29 20:07:10 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-05-03 09:14:27 +1000 |
| commit | 760cf8d3afd446e9a5f3dc1af006548a0da5686c (patch) | |
| tree | dd8961716591c538784e7132fe641f8345a822a9 /tests/ui/unpretty | |
| parent | 3896ad0acd53fa62cab711d20af8dec1f3e944a1 (diff) | |
| download | rust-760cf8d3afd446e9a5f3dc1af006548a0da5686c.tar.gz rust-760cf8d3afd446e9a5f3dc1af006548a0da5686c.zip | |
Fix hir pretty-printing of `global_asm!`.
One of the boxes isn't closed, and this causes everything after it to be over-indented.
Diffstat (limited to 'tests/ui/unpretty')
| -rw-r--r-- | tests/ui/unpretty/exhaustive-asm.hir.stdout | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/unpretty/exhaustive-asm.hir.stdout b/tests/ui/unpretty/exhaustive-asm.hir.stdout index 5a642dff6f2..810db69bff1 100644 --- a/tests/ui/unpretty/exhaustive-asm.hir.stdout +++ b/tests/ui/unpretty/exhaustive-asm.hir.stdout @@ -27,5 +27,6 @@ mod expressions { mod items { /// ItemKind::GlobalAsm mod item_global_asm {/// ItemKind::GlobalAsm - global_asm! (".globl my_asm_func") } + global_asm! (".globl my_asm_func"); } +} |
