Skip to main content

Module non_ascii_idents

Module non_ascii_idents 

Source

Re-exportsยง

use rustc_ast as ast; ๐Ÿ”’
use rustc_data_structures::fx::FxIndexMap; ๐Ÿ”’
use rustc_data_structures::unord::UnordMap; ๐Ÿ”’
use rustc_lint_defs::declare_lint; ๐Ÿ”’
use rustc_lint_defs::declare_lint_pass; ๐Ÿ”’
use rustc_span::OrdSpan; ๐Ÿ”’
use rustc_span::Symbol; ๐Ÿ”’
use unicode_security::general_security_profile::IdentifierType; ๐Ÿ”’
use crate::diagnostics::ConfusableIdentifierPair; ๐Ÿ”’
use crate::diagnostics::IdentifierNonAsciiChar; ๐Ÿ”’
use crate::diagnostics::IdentifierUncommonCodepoints; ๐Ÿ”’
use crate::diagnostics::MixedScriptConfusables; ๐Ÿ”’
use crate::EarlyContext; ๐Ÿ”’
use crate::EarlyLintPass; ๐Ÿ”’
use crate::LintContext; ๐Ÿ”’

Structsยง

NonAsciiIdents

Staticsยง

CONFUSABLE_IDENTS
The confusable_idents lint detects visually confusable pairs between identifiers.
MIXED_SCRIPT_CONFUSABLES
The mixed_script_confusables lint detects visually confusable characters in identifiers between different scripts.
NON_ASCII_IDENTS
The non_ascii_idents lint detects non-ASCII identifiers.
UNCOMMON_CODEPOINTS
The uncommon_codepoints lint detects uncommon Unicode codepoints in identifiers.