Static rustc_lint::non_ascii_idents::NON_ASCII_IDENTS
source · pub static NON_ASCII_IDENTS: &Lint
Expand description
The non_ascii_idents
lint detects non-ASCII identifiers.
Example
ⓘ
#![deny(non_ascii_idents)]
fn main() {
let föö = 1;
}
{{produces}}
Explanation
This lint allows projects that wish to retain the limit of only using ASCII characters to switch this lint to “forbid” (for example to ease collaboration or for security reasons). See RFC 2457 for more details.