]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/rfc-2457-non-ascii-idents/lint-confusable-idents.stderr
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[rust.git] / tests / ui / lint / rfc-2457-non-ascii-idents / lint-confusable-idents.stderr
1 error: identifier pair considered confusable between `s` and `s`
2   --> $DIR/lint-confusable-idents.rs:8:9
3    |
4 LL | const s: usize = 42;
5    |       -- this is where the previous identifier occurred
6 ...
7 LL |     let s = "rust";
8    |         ^
9    |
10 note: the lint level is defined here
11   --> $DIR/lint-confusable-idents.rs:1:9
12    |
13 LL | #![deny(confusable_idents)]
14    |         ^^^^^^^^^^^^^^^^^
15
16 error: identifier pair considered confusable between `s_s` and `s_s`
17   --> $DIR/lint-confusable-idents.rs:9:9
18    |
19 LL | const s_s: usize = 42;
20    |       --- this is where the previous identifier occurred
21 ...
22 LL |     let s_s = "rust2";
23    |         ^^^^^
24
25 error: aborting due to 2 previous errors
26