Uh oh!
There was an error while loading. Please reload this page.
diags: Pass DiagArgMap instead of FluentArgs into format_diag_message - #153231
Conversation
JonathanBrouwer
commented
Feb 28, 2026
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
diags: Pass `DiagArgMap` instead of `FluentArgs` into `format_diag_message`
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
rust-timer
commented
Feb 28, 2026
Finished benchmarking commit (af9f66e): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResults (secondary -3.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 479.975s -> 484.497s (0.94%) |
3ee5854 to
51f35d7CompareJonathanBrouwer
commented
Mar 1, 2026
rustbot
commented
Mar 1, 2026
cc @davidtwco, @TaKO8Ki
cc @davidtwco, @TaKO8Ki
cc @Muscraft
cc @Muscraft |
r=me with adding small doc comment explaining this new |
JonathanBrouwer
commented
Mar 1, 2026
@bors r=Kivooeo rollup |
lqd
commented
Mar 1, 2026
Maybe there is a better name as well, maybe DiagArgs or something similar. |
…uwer Rollup of 6 pull requests Successful merges: - #153130 (std: move `getpid` to `sys::process`) - #152549 (Revert "resolve: Downgrade `ambiguous_glob_imports` to warn-by-default") - #153231 (diags: Pass `DiagArgMap` instead of `FluentArgs` into `format_diag_message`) - #153246 (Fix compile error in std::fs impl on VEXos target) - #153255 (Recover feature lang_items for emscripten) - #153257 (update my mailmap)
Uh oh!
There was an error while loading. Please reload this page.
Rollup merge of #153231 - JonathanBrouwer:move_diag_arg_map, r=Kivooeo diags: Pass `DiagArgMap` instead of `FluentArgs` into `format_diag_message` This PR no longer exposes `FluentArgs` outside of `translation.rs`, instead using the already existing `DiagArgMap`. This is in preparation of a few upcoming PRs, as well as just making the code slightly nicer. Will do a perf run because this technically calls `to_fluent_args` a few more times than previously, but not expecting this to be significant
This PR no longer exposes
FluentArgsoutside oftranslation.rs, instead using the already existingDiagArgMap.This is in preparation of a few upcoming PRs, as well as just making the code slightly nicer.
Will do a perf run because this technically calls
to_fluent_argsa few more times than previously, but not expecting this to be significant