diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-08-26 16:34:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-26 16:34:16 +0200 |
| commit | 5d95ec05f63209fbb41080425079fba3e20399dc (patch) | |
| tree | fa03d9fbb40a648c147511e0dbf7e97d0ebe8537 /compiler/rustc_codegen_llvm/src | |
| parent | 20a3e452a9284e9931a215c995a8040c3f25fb19 (diff) | |
| parent | 575a90eb87f4a8f0dbb3ba001cbd5a799322fac8 (diff) | |
| download | rust-5d95ec05f63209fbb41080425079fba3e20399dc.tar.gz rust-5d95ec05f63209fbb41080425079fba3e20399dc.zip | |
Rollup merge of #145863 - EliasHolzmann:formatting_options_20250825, r=m-ou-se
formatting_options: Make all methods `const` Related to rust-lang/rust#118117. Having `const fn`s that take a `mut &` was unstable until Rust 1.83 (see rust-lang/rust#129195). Because of this, not all methods on `FormattingOptions` were implemented as `const`. As this has been stabilized now, there is no reason not to have all methods `const`. Thanks to `@Ternvein` for bringing this to my attention (see [1]). r? `@m-ou-se` (As you were the reviewer for the original implementation – feel free to reroll if you are busy or if you aren't interested) [1]: https://github.com/rust-lang/rust/issues/118117#issuecomment-2687470635
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
