Skip to content

Commit 02277e3

Browse files
Improve indent of ftl strings
1 parent c682902 commit 02277e3

5 files changed

Lines changed: 326 additions & 283 deletions

File tree

compiler/rustc_const_eval/src/const_eval/eval_queries.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,9 @@ fn report_eval_error<'tcx>(
471471
span,
472472
inline_fluent!(
473473
"evaluation of `{$instance}` failed {$num_frames ->
474-
[0] here
475-
*[other] inside this call
476-
}"
474+
[0] here
475+
*[other] inside this call
476+
}"
477477
),
478478
);
479479
for frame in frames {

compiler/rustc_const_eval/src/const_eval/machine.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -491,10 +491,10 @@ impl<'tcx> interpret::Machine<'tcx> for CompileTimeMachine<'tcx> {
491491
Err(err) => throw_ub_custom!(
492492
inline_fluent!(
493493
"invalid align passed to `{$name}`: {$align} is {$err_kind ->
494-
[not_power_of_two] not a power of 2
495-
[too_large] too large
496-
*[other] {\"\"}
497-
}"
494+
[not_power_of_two] not a power of 2
495+
[too_large] too large
496+
*[other] {\"\"}
497+
}"
498498
),
499499
name = "const_allocate",
500500
err_kind = err.diag_ident(),
@@ -521,10 +521,10 @@ impl<'tcx> interpret::Machine<'tcx> for CompileTimeMachine<'tcx> {
521521
Err(err) => throw_ub_custom!(
522522
inline_fluent!(
523523
"invalid align passed to `{$name}`: {$align} is {$err_kind ->
524-
[not_power_of_two] not a power of 2
525-
[too_large] too large
526-
*[other] {\"\"}
527-
}"
524+
[not_power_of_two] not a power of 2
525+
[too_large] too large
526+
*[other] {\"\"}
527+
}"
528528
),
529529
name = "const_deallocate",
530530
err_kind = err.diag_ident(),

0 commit comments

Comments
 (0)