about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-01-23 21:53:59 +0100
committerGitHub <noreply@github.com>2024-01-23 21:53:59 +0100
commit4d9b983368d8dad35f48387b8d6766ae8ea5a8e5 (patch)
treeae53ab17eab5ff5bd5bf00046829224be368c68f /compiler/rustc_pattern_analysis/src
parent7ee8142420472061ec636b2e5f7b4526a03b3b58 (diff)
parentda1d0c4a6913dded1deaba602f677674dcbbe21f (diff)
downloadrust-4d9b983368d8dad35f48387b8d6766ae8ea5a8e5.tar.gz
rust-4d9b983368d8dad35f48387b8d6766ae8ea5a8e5.zip
Rollup merge of #120259 - HTGAzureX1212:HTGAzureX1212/split-diagnostics-uncommon-codepoints, r=Manishearth
Split Diagnostics for Uncommon Codepoints: Add List to Display Characters Involved

This Pull Request adds a list of the uncommon codepoints involved in the `uncommon_codepoints` lint, as outlined as a first step in #120228.

Example rendered diagnostic:
```
error: identifier contains an uncommon Unicode codepoint: 'µ'
  --> $DIR/lint-uncommon-codepoints.rs:3:7
   |
LL | const µ: f64 = 0.000001;
   |       ^
   |
note: the lint level is defined here
  --> $DIR/lint-uncommon-codepoints.rs:1:9
   |
LL | #![deny(uncommon_codepoints)]
   |         ^^^^^^^^^^^^^^^^^^^
```

(Retrying #120258.)
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions