about summary refs log tree commit diff
path: root/tests/ui/proc-macro
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-04-25 13:06:03 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-04-25 14:33:16 +1000
commitee43aa356aa228b5cc8da41622855f4f2c07f8ab (patch)
treea2d5a31f958339a1fbc070c6548cb772c6679724 /tests/ui/proc-macro
parent3d488f8e0c953f10852431f4c195e6b24cc6eec7 (diff)
downloadrust-ee43aa356aa228b5cc8da41622855f4f2c07f8ab.tar.gz
rust-ee43aa356aa228b5cc8da41622855f4f2c07f8ab.zip
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.
Diffstat (limited to 'tests/ui/proc-macro')
-rw-r--r--tests/ui/proc-macro/quote/debug.stdout8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/proc-macro/quote/debug.stdout b/tests/ui/proc-macro/quote/debug.stdout
index 6ebb3a37951..b2a9f031b28 100644
--- a/tests/ui/proc-macro/quote/debug.stdout
+++ b/tests/ui/proc-macro/quote/debug.stdout
@@ -36,8 +36,8 @@ fn main() {
                                 lit.set_span(crate::Span::recover_proc_macro_span(2));
                                 lit
                             } else {
-                               ::core::panicking::panic("internal error: entered unreachable code")
-                           }
+                                ::core::panicking::panic("internal error: entered unreachable code")
+                            }
                     }), &mut ts);
         crate::ToTokens::to_tokens(&crate::TokenTree::Punct(crate::Punct::new(';',
                         crate::Spacing::Alone)), &mut ts);
@@ -55,8 +55,8 @@ fn main() {
                                 lit.set_span(crate::Span::recover_proc_macro_span(5));
                                 lit
                             } else {
-                               ::core::panicking::panic("internal error: entered unreachable code")
-                           }
+                                ::core::panicking::panic("internal error: entered unreachable code")
+                            }
                     }), &mut ts);
         crate::ToTokens::to_tokens(&crate::TokenTree::Punct(crate::Punct::new(';',
                         crate::Spacing::Alone)), &mut ts);