diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-11-19 13:06:31 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-19 13:06:31 +0900 |
| commit | 7432588e5d0212dc3339b34e6fc41b96dbaa5320 (patch) | |
| tree | 5e60c0a44ec4754b7c99e97c9fb8ab78bb9b12ba /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 548c1088eff51fd92ad94d56b8c5b2d48b7088f0 (diff) | |
| parent | 7272b6fc8ce5c5d4b087129029c0a5be2570dd44 (diff) | |
| download | rust-7432588e5d0212dc3339b34e6fc41b96dbaa5320.tar.gz rust-7432588e5d0212dc3339b34e6fc41b96dbaa5320.zip | |
Rollup merge of #89258 - est31:const_char_convert, r=oli-obk
Make char conversion functions unstably const The char conversion functions like `char::from_u32` do trivial computations and can easily be converted into const fns. Only smaller tricks are needed to avoid non-const standard library functions like `Result::ok` or `bool::then_some`. Tracking issue: https://github.com/rust-lang/rust/issues/89259
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
