diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-02-26 10:27:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-26 10:27:41 +0100 |
| commit | 91d337dfa8fd42832e7d4606d1737ccb5626a7aa (patch) | |
| tree | f803f42937f0eeeabf0eacc67e58649ed6b86e90 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 0e08be5360f9412c2a6fed52425f23f22db54ca5 (diff) | |
| parent | 8bccceb8fc588d60dd25e6f13beea69aa5fc6b63 (diff) | |
| download | rust-91d337dfa8fd42832e7d4606d1737ccb5626a7aa.tar.gz rust-91d337dfa8fd42832e7d4606d1737ccb5626a7aa.zip | |
Rollup merge of #120840 - HTGAzureX1212:HTGAzureX1212/unicode-identifier-types, r=fmease,Manishearth
Split Diagnostics for Uncommon Codepoints: Add Individual Identifier Types
This pull request further modifies the `uncommon_codepoints` lint, adding the individual identifier types of `Technical`, `Not_NFKC`, `Exclusion` and `Limited_Use` to the diagnostic message.
Example rendered diagnostic:
```
error: identifier contains a Unicode codepoint that is not used in normalized strings: 'ij'
--> $DIR/lint-uncommon-codepoints.rs:6:4
|
LL | fn dijkstra() {}
| ^^^^^^^
= note: this character is included in the Not_NFKC Unicode general security profile
```
Second step of #120228.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
