about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-01-25 08:03:34 +0100
committerGitHub <noreply@github.com>2025-01-25 08:03:34 +0100
commit5c821ae4e84e7eae91fe588267dd2610fed5c18c (patch)
tree1db7c2e6f6fcc73f151ab536e4a3c23a92189847 /compiler/rustc_mir_transform/src/coverage/query.rs
parent9ffe5584558a1247b01dec328081f0f851699814 (diff)
parentc9ae0bbffb86d45e313bfe9515af513ce6ab49c9 (diff)
downloadrust-5c821ae4e84e7eae91fe588267dd2610fed5c18c.tar.gz
rust-5c821ae4e84e7eae91fe588267dd2610fed5c18c.zip
Rollup merge of #135977 - nyurik:fix-fmt-options, r=joboet
Fix `FormattingOptions` instantiation with `Default`

The `fill` value by default should be set to `' '` (space), but the current implementation uses `#[derive(Default)]` which sets it to `\0`.

Note that `FormattingOptions` is being released as part of 1.85 (unstable) - so this might warrant a backport to that branch.

Tracking issue: https://github.com/rust-lang/rust/issues/118117

Follow up from https://github.com/rust-lang/rust/pull/118159

CC: ``@EliasHolzmann`` ``@programmerjake``

r? ``@m-ou-se``
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions