2020-01-02 06:02:22 -06:00
|
|
|
#![deny(uncommon_codepoints)]
|
|
|
|
|
|
|
|
const µ: f64 = 0.000001; //~ ERROR identifier contains uncommon Unicode codepoints
|
2021-07-20 22:23:22 -05:00
|
|
|
//~| WARNING should have an upper case name
|
2020-01-02 06:02:22 -06:00
|
|
|
|
|
|
|
fn dijkstra() {} //~ ERROR identifier contains uncommon Unicode codepoints
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let ㇻㇲㇳ = "rust"; //~ ERROR identifier contains uncommon Unicode codepoints
|
2020-05-09 20:10:15 -05:00
|
|
|
|
|
|
|
// using the same identifier the second time won't trigger the lint.
|
|
|
|
println!("{}", ㇻㇲㇳ);
|
2020-01-02 06:02:22 -06:00
|
|
|
}
|