rust/tests/ui/lint/rfc-2457-non-ascii-idents/lint-non-ascii-idents.stderr

27 lines
619 B
Plaintext
Raw Normal View History

error: identifier contains non-ASCII characters
2021-04-02 21:35:11 -05:00
--> $DIR/lint-non-ascii-idents.rs:3:7
|
LL | const חלודה: usize = 2;
| ^^^^^
|
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-non-ascii-idents.rs:1:9
|
LL | #![deny(non_ascii_idents)]
| ^^^^^^^^^^^^^^^^
error: identifier contains non-ASCII characters
2021-04-02 21:35:11 -05:00
--> $DIR/lint-non-ascii-idents.rs:5:4
|
LL | fn coöperation() {}
| ^^^^^^^^^^^
error: identifier contains non-ASCII characters
2021-04-02 21:35:11 -05:00
--> $DIR/lint-non-ascii-idents.rs:8:9
|
LL | let naïveté = 2;
| ^^^^^^^
error: aborting due to 3 previous errors