18 lines
438 B
Plaintext
18 lines
438 B
Plaintext
|
error: identifier pair considered confusable between `s` and `s`
|
|||
|
--> $DIR/lint-confusable-idents.rs:5:7
|
|||
|
|
|
|||
|
LL | const s: 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
|
|||
|
|