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ยง
Staticsยง
- CONFUSABLE_
IDENTS - The
confusable_identslint detects visually confusable pairs between identifiers. - MIXED_
SCRIPT_ CONFUSABLES - The
mixed_script_confusableslint detects visually confusable characters in identifiers between different scripts. - NON_
ASCII_ IDENTS - The
non_ascii_identslint detects non-ASCII identifiers. - UNCOMMON_
CODEPOINTS - The
uncommon_codepointslint detects uncommon Unicode codepoints in identifiers.