rust/src/test/ui/lint/rfc-2457-non-ascii-idents/lint-uncommon-codepoints.stderr

33 lines
813 B
Plaintext
Raw Normal View History

2020-01-02 06:02:22 -06:00
error: identifier contains uncommon Unicode codepoints
--> $DIR/lint-uncommon-codepoints.rs:4:7
|
LL | const µ: f64 = 0.000001;
| ^
|
note: lint level defined here
--> $DIR/lint-uncommon-codepoints.rs:2: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";
| ^^^^^^
error: identifier contains uncommon Unicode codepoints
--> $DIR/lint-uncommon-codepoints.rs:10:20
|
LL | println!("{}", ㇻㇲㇳ);
| ^^^^^^
error: aborting due to 4 previous errors