553508c22e
Fix #76140.
17 lines
311 B
Rust
17 lines
311 B
Rust
#![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';
|
||
}
|