File: lint-uncommon-codepoints.stderr

package info (click to toggle)
rustc 1.85.0%2Bdfsg3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 893,396 kB
  • sloc: xml: 158,127; python: 35,830; javascript: 19,497; cpp: 19,002; sh: 17,245; ansic: 13,127; asm: 4,376; makefile: 1,051; perl: 29; lisp: 29; ruby: 19; sql: 11
file content (39 lines) | stat: -rw-r--r-- 1,233 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
error: identifier contains a non normalized (NFKC) character: 'µ'
  --> $DIR/lint-uncommon-codepoints.rs:3:7
   |
LL | const µ: f64 = 0.000001;
   |       ^
   |
   = note: this character is included in the Not_NFKC Unicode general security profile
note: the lint level is defined here
  --> $DIR/lint-uncommon-codepoints.rs:1:9
   |
LL | #![deny(uncommon_codepoints)]
   |         ^^^^^^^^^^^^^^^^^^^

error: identifier contains a non normalized (NFKC) character: 'ij'
  --> $DIR/lint-uncommon-codepoints.rs:6:4
   |
LL | fn dijkstra() {}
   |    ^^^^^^^
   |
   = note: this character is included in the Not_NFKC Unicode general security profile

error: identifier contains uncommon characters: 'ㇻ', 'ㇲ', and 'ㇳ'
  --> $DIR/lint-uncommon-codepoints.rs:10:9
   |
LL |     let ㇻㇲㇳ = "rust";
   |         ^^^^^^
   |
   = note: these characters are included in the Unicode general security profile

warning: constant `µ` should have an upper case name
  --> $DIR/lint-uncommon-codepoints.rs:3:7
   |
LL | const µ: f64 = 0.000001;
   |       ^ help: convert the identifier to upper case: `Μ`
   |
   = note: `#[warn(non_upper_case_globals)]` on by default

error: aborting due to 3 previous errors; 1 warning emitted