Skip to main content

Module unqualified_local_imports

Module unqualified_local_imports 

Source

Re-exportsยง

use rustc_hir as hir; ๐Ÿ”’
use rustc_lint_defs::declare_lint; ๐Ÿ”’
use rustc_lint_defs::declare_lint_pass; ๐Ÿ”’
use rustc_span::kw; ๐Ÿ”’
use crate::LateContext; ๐Ÿ”’
use crate::LateLintPass; ๐Ÿ”’
use crate::LintContext; ๐Ÿ”’
use crate::diagnostics; ๐Ÿ”’

Structsยง

UnqualifiedLocalImports

Staticsยง

UNQUALIFIED_LOCAL_IMPORTS
The unqualified_local_imports lint checks for use items that import a local item using a path that does not start with self::, super::, or crate::.