diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-25 13:06:03 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-25 14:33:16 +1000 |
| commit | ee43aa356aa228b5cc8da41622855f4f2c07f8ab (patch) | |
| tree | a2d5a31f958339a1fbc070c6548cb772c6679724 /tests/ui | |
| parent | 3d488f8e0c953f10852431f4c195e6b24cc6eec7 (diff) | |
| download | rust-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')
| -rw-r--r-- | tests/ui/match/issue-82392.stdout | 8 | ||||
| -rw-r--r-- | tests/ui/proc-macro/quote/debug.stdout | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/ui/match/issue-82392.stdout b/tests/ui/match/issue-82392.stdout index 8b7edabf004..34d2c7aa2ba 100644 --- a/tests/ui/match/issue-82392.stdout +++ b/tests/ui/match/issue-82392.stdout @@ -11,7 +11,7 @@ fn main() ({ (if (true as bool) ({ } as ()) else if (let Some(a) = - ((Some as - fn(i32) -> Option<i32> {Option::<i32>::Some})((3 as i32)) as - Option<i32>) as bool) ({ } as ()) as ()) - } as ()) + ((Some as + fn(i32) -> Option<i32> {Option::<i32>::Some})((3 as i32)) as + Option<i32>) as bool) ({ } as ()) as ()) + } as ()) 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); |
