diff options
| author | bors <bors@rust-lang.org> | 2023-05-20 04:43:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-20 04:43:17 +0000 |
| commit | e86fd62b6b198584a47798eb271d4b54c4dc96ec (patch) | |
| tree | 72cfb864600ac1437dd46be482005b597cf56270 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 7047d97e012d5ed90cf2837c361150bc149837b4 (diff) | |
| parent | 28449daa2241410d4c384c5608b87fe7c85ffae6 (diff) | |
| download | rust-e86fd62b6b198584a47798eb271d4b54c4dc96ec.tar.gz rust-e86fd62b6b198584a47798eb271d4b54c4dc96ec.zip | |
Auto merge of #111524 - scottmcm:escape-using-ascii, r=cuviper
`ascii::Char`-ify the escaping code in `core` This means that `EscapeIterInner::as_str` no longer needs unsafe code, because the type system ensures the internal buffer is only ASCII, and thus valid UTF-8. Come to think of it, this also gives it a (non-guaranteed) niche. cc `@BurntSushi` as potentially interested `ascii::Char` tracking issue: #110998
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
