Skip to main content

Module incorrect_using_for

Module incorrect_using_for 

Source

Re-exportsยง

use super::IncorrectUsingFor; ๐Ÿ”’
use crate::linter::LateLintPass; ๐Ÿ”’
use crate::linter::LintContext; ๐Ÿ”’
use crate::sol::Severity; ๐Ÿ”’
use crate::sol::SolLint; ๐Ÿ”’
use solar::ast::DataLocation; ๐Ÿ”’
use solar::sema::Gcx; ๐Ÿ”’
use solar::sema::hir; ๐Ÿ”’
use solar::sema::hir::UsingDirective; ๐Ÿ”’
use solar::sema::hir::UsingEntryKind; ๐Ÿ”’

Staticsยง

INCORRECT_USING_FOR

Functionsยง

check_directive ๐Ÿ”’
Judges one using ... for directive: a library entry that contributes no member to the target type attaches nothing, which means no function of the library accepts the type as its bound first parameter.