about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-04-30 16:23:29 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-05-03 12:46:51 +1000
commit9af08429f13059fee07a6cb4b019e2bcda3a8093 (patch)
tree5269865a9e05f0097f344f11a5a348d8681ab3cb /tests
parent809e5b5ed17f6cede5945939bb7f10c5282d9b53 (diff)
downloadrust-9af08429f13059fee07a6cb4b019e2bcda3a8093.tar.gz
rust-9af08429f13059fee07a6cb4b019e2bcda3a8093.zip
Avoid an indent for labelled loops.
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/unpretty/exhaustive.hir.stdout3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/unpretty/exhaustive.hir.stdout b/tests/ui/unpretty/exhaustive.hir.stdout
index c1230e597ce..c20f123b16e 100644
--- a/tests/ui/unpretty/exhaustive.hir.stdout
+++ b/tests/ui/unpretty/exhaustive.hir.stdout
@@ -189,8 +189,7 @@ mod expressions {
             let _t =
                 match #[lang = "into_iter"](x) {
                     mut iter =>
-                        'a:
-                            loop {
+                        'a: loop {
                             match #[lang = "next"](&mut iter) {
                                 #[lang = "None"] {} => break,
                                 #[lang = "Some"] {  0: _ } => { }