Trait rustc_lint::LintPass

source ·
pub trait LintPass {
    // Required method
    fn name(&self) -> &'static str;
}

Required Methods§

source

fn name(&self) -> &'static str

Implementors§

source§

impl LintPass for ArrayIntoIter

source§

impl LintPass for AsyncFnInTrait

source§

impl LintPass for AnonymousParameters

source§

impl LintPass for BoxPointers

source§

impl LintPass for DeprecatedAttr

source§

impl LintPass for DerefNullPtr

source§

impl LintPass for EllipsisInclusiveRangePatterns

source§

impl LintPass for ExplicitOutlivesRequirements

source§

impl LintPass for IncompleteInternalFeatures

source§

impl LintPass for InvalidNoMangleItems

source§

impl LintPass for InvalidValue

source§

impl LintPass for KeywordIdents

source§

impl LintPass for MissingCopyImplementations

source§

impl LintPass for MissingDebugImplementations

source§

impl LintPass for MissingDoc

source§

impl LintPass for MutableTransmutes

source§

impl LintPass for NamedAsmLabels

source§

impl LintPass for NonShorthandFieldPatterns

source§

impl LintPass for SoftLints

source§

impl LintPass for SpecialModuleName

source§

impl LintPass for TrivialConstraints

source§

impl LintPass for TypeAliasBounds

source§

impl LintPass for UnexpectedCfgs

source§

impl LintPass for UngatedAsyncFnTrackCaller

source§

impl LintPass for UnreachablePub

source§

impl LintPass for UnsafeCode

source§

impl LintPass for UnstableFeatures

source§

impl LintPass for UnusedBrokenConst

source§

impl LintPass for WhileTrue

source§

impl LintPass for DerefIntoDynSupertrait

source§

impl LintPass for DropForgetUseless

source§

impl LintPass for RuntimeCombinedEarlyLintPass<'_>

source§

impl LintPass for EnumIntrinsicsNonEnums

source§

impl LintPass for ForLoopsOverFallibles

source§

impl LintPass for HiddenUnicodeCodepoints

source§

impl LintPass for BadOptAccess

source§

impl LintPass for DefaultHashTypes

source§

impl LintPass for Diagnostics

source§

impl LintPass for ExistingDocKeyword

source§

impl LintPass for LintPassImpl

source§

impl LintPass for QueryStability

source§

impl LintPass for TyTyKind

source§

impl LintPass for InvalidFromUtf8

source§

impl LintPass for RuntimeCombinedLateLintPass<'_, '_>

source§

impl LintPass for LetUnderscore

source§

impl LintPass for MapUnitFn

source§

impl LintPass for TemporaryCStringAsPtr

source§

impl LintPass for MultipleSupertraitUpcastable

source§

impl LintPass for NonAsciiIdents

source§

impl LintPass for NonPanicFmt

source§

impl LintPass for NonCamelCaseTypes

source§

impl LintPass for NonSnakeCase

source§

impl LintPass for NonUpperCaseGlobals

source§

impl LintPass for NoopMethodCall

source§

impl LintPass for OpaqueHiddenInferredBound

source§

impl LintPass for PassByValue

source§

impl LintPass for PtrNullChecks

source§

impl LintPass for RedundantSemicolons

source§

impl LintPass for InvalidReferenceCasting

source§

impl LintPass for BuiltinCombinedEarlyLintPass

source§

impl LintPass for BuiltinCombinedModuleLateLintPass

source§

impl LintPass for BuiltinCombinedPreExpansionLintPass

source§

impl LintPass for DropTraitConstraints

source§

impl LintPass for ImproperCTypesDeclarations

source§

impl LintPass for ImproperCTypesDefinitions

source§

impl LintPass for InvalidAtomicOrdering

source§

impl LintPass for TypeLimits

source§

impl LintPass for VariantSizeDifferences

source§

impl LintPass for PathStatements

source§

impl LintPass for UnusedAllocation

source§

impl LintPass for UnusedBraces

source§

impl LintPass for UnusedImportBraces

source§

impl LintPass for UnusedParens

source§

impl LintPass for UnusedResults