2020-04-24 20:38:31 -05:00
|
|
|
|
#![deny(confusable_idents)]
|
|
|
|
|
#![allow(uncommon_codepoints, non_upper_case_globals)]
|
|
|
|
|
|
2020-05-09 20:10:15 -05:00
|
|
|
|
const s: usize = 42;
|
2020-08-05 02:29:13 -05:00
|
|
|
|
const s_s: usize = 42;
|
2020-04-24 20:38:31 -05:00
|
|
|
|
|
|
|
|
|
fn main() {
|
2023-08-04 11:46:08 -05:00
|
|
|
|
let s = "rust"; //~ ERROR found both
|
|
|
|
|
let s_s = "rust2"; //~ ERROR found both
|
2020-05-09 20:10:15 -05:00
|
|
|
|
not_affected();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn not_affected() {
|
|
|
|
|
let s1 = 1;
|
|
|
|
|
let sl = 'l';
|
2020-04-24 20:38:31 -05:00
|
|
|
|
}
|