summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/rfc-2457-non-ascii-idents/lint-uncommon-codepoints.stderr
blob: 0533da03068ae040d1802b1f8a0d4f6b64ad88dc (plain)
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
error: identifier contains uncommon Unicode codepoints
  --> $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)]
   |         ^^^^^^^^^^^^^^^^^^^

error: identifier contains uncommon Unicode codepoints
  --> $DIR/lint-uncommon-codepoints.rs:6:4
   |
LL | fn dijkstra() {}
   |    ^^^^^^^

error: identifier contains uncommon Unicode codepoints
  --> $DIR/lint-uncommon-codepoints.rs:9:9
   |
LL |     let ㇻㇲㇳ = "rust";
   |         ^^^^^^

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