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

18 lines
438 B
Plaintext
Raw Normal View History

2020-04-24 20:38:31 -05:00
error: identifier pair considered confusable between `s` and ``
--> $DIR/lint-confusable-idents.rs:5:7
|
LL | const : usize = 42;
| ^^
...
LL | let s = "rust";
| - this is where the previous identifier occurred
|
note: the lint level is defined here
--> $DIR/lint-confusable-idents.rs:2:9
|
LL | #![deny(confusable_idents)]
| ^^^^^^^^^^^^^^^^^
error: aborting due to previous error