diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-07-25 04:43:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-25 04:43:19 +0200 |
| commit | cce2db06c0206949c5d19d52472fd480ca2d60c0 (patch) | |
| tree | 3c09a9deca25e52b631e67f034c87f5ad16154d1 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | cfc5f25b3d7c2f9fa37d0165085cdd4120939716 (diff) | |
| parent | 9bd7680b2e0f1f5680b04fdb2401bad3e082fa38 (diff) | |
| download | rust-cce2db06c0206949c5d19d52472fd480ca2d60c0.tar.gz rust-cce2db06c0206949c5d19d52472fd480ca2d60c0.zip | |
Rollup merge of #127528 - estebank:ascii-control-chars, r=oli-obk
Replace ASCII control chars with Unicode Control Pictures Replace ASCII control chars like `CR` with Unicode Control Pictures like `␍`: ``` error: bare CR not allowed in doc-comment --> $DIR/lex-bare-cr-string-literal-doc-comment.rs:3:32 | LL | /// doc comment with bare CR: '␍' | ^ ``` Centralize the checking of unicode char width for the purposes of CLI display in one place. Account for the new replacements. Remove unneeded tracking of "zero-width" unicode chars, as we calculate these in the `SourceMap` as needed now.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
