diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-09-23 06:45:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-23 06:45:33 +0200 |
| commit | c1ccdb7d0c434d4daa20004c5beb6050613084b5 (patch) | |
| tree | 19886d2d14b64107f5a95d88af237cfaf17f1202 /compiler/rustc_pattern_analysis/src | |
| parent | 23393de7934a5b8f5d8114f63c757303b1416c5d (diff) | |
| parent | f48c5ec235adb709ab28e03974286dde69369d59 (diff) | |
| download | rust-c1ccdb7d0c434d4daa20004c5beb6050613084b5.tar.gz rust-c1ccdb7d0c434d4daa20004c5beb6050613084b5.zip | |
Rollup merge of #130659 - bjoernager:const-char-encode-utf16, r=dtolnay
Support `char::encode_utf16` in const scenarios. Relevant tracking issue: #130660 The method `char::encode_utf16` should be marked "const" to allow compile-time conversions. This PR additionally rewrites the `encode_utf16_raw` function for better readability whilst also reducing the amount of unsafe code. try-job: x86_64-msvc
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
