Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
|||
#![deny(non_ascii_idents)]
|
||||
|
||||
const חלודה: usize = 2; //~ ERROR identifier contains non-ASCII characters
|
||||
|
||||
fn coöperation() {} //~ ERROR identifier contains non-ASCII characters
|
||||
|
||||
fn main() {
|
||||
let naïveté = 2; //~ ERROR identifier contains non-ASCII characters
|
||||
|
||||
// using the same identifier the second time won't trigger the lint.
|
||||
println!("{}", naïveté);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue