about summary refs log tree commit diff
path: root/tests/ui/unpretty
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-04-29 20:07:10 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-05-03 09:14:27 +1000
commit760cf8d3afd446e9a5f3dc1af006548a0da5686c (patch)
treedd8961716591c538784e7132fe641f8345a822a9 /tests/ui/unpretty
parent3896ad0acd53fa62cab711d20af8dec1f3e944a1 (diff)
downloadrust-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.stdout3
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");
     }
+}