blob: b2d8a28d3c4412e6ad42d316e09c6463464de881 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#![deny(confusable_idents)]
#![allow(uncommon_codepoints, non_upper_case_globals)]
const s: usize = 42;
const s_s: usize = 42;
fn main() {
let s = "rust"; //~ ERROR found both
let s_s = "rust2"; //~ ERROR found both
not_affected();
}
fn not_affected() {
let s1 = 1;
let sl = 'l';
}
|