2020-01-02 06:02:22 -06:00
|
|
|
|
error: identifier contains uncommon Unicode codepoints
|
2021-04-02 21:35:11 -05:00
|
|
|
|
--> $DIR/lint-uncommon-codepoints.rs:3:7
|
2020-01-02 06:02:22 -06:00
|
|
|
|
|
|
|
|
|
|
LL | const µ: f64 = 0.000001;
|
|
|
|
|
| ^
|
|
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
|
note: the lint level is defined here
|
2021-04-02 21:35:11 -05:00
|
|
|
|
--> $DIR/lint-uncommon-codepoints.rs:1:9
|
2020-01-02 06:02:22 -06:00
|
|
|
|
|
|
|
|
|
|
LL | #![deny(uncommon_codepoints)]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: identifier contains uncommon Unicode codepoints
|
2021-07-20 22:23:22 -05:00
|
|
|
|
--> $DIR/lint-uncommon-codepoints.rs:6:4
|
2020-01-02 06:02:22 -06:00
|
|
|
|
|
|
|
|
|
|
LL | fn dijkstra() {}
|
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: identifier contains uncommon Unicode codepoints
|
2021-07-20 22:23:22 -05:00
|
|
|
|
--> $DIR/lint-uncommon-codepoints.rs:9:9
|
2020-01-02 06:02:22 -06:00
|
|
|
|
|
|
|
|
|
|
LL | let ㇻㇲㇳ = "rust";
|
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
2021-07-20 22:23:22 -05:00
|
|
|
|
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
|
2020-01-02 06:02:22 -06:00
|
|
|
|
|