☰
Module lints
rustc_lint
1.75.0-dev
Module lints
Structs
Enums
Constants
In crate rustc_lint
Modules
array_into_iter
async_fn_in_trait
builtin
context
deref_into_dyn_supertrait
drop_forget_useless
early
enum_intrinsics_non_enums
errors
expect
for_loops_over_fallibles
foreign_modules
hidden_unicode_codepoints
internal
invalid_from_utf8
late
let_underscore
levels
lints
map_unit_fn
methods
multiple_supertrait_upcastable
non_ascii_idents
non_fmt_panic
nonstandard_style
noop_method_call
opaque_hidden_inferred_bound
pass_by_value
passes
ptr_nulls
redundant_semicolon
reference_casting
traits
types
unused
Macros
declare_combined_early_lint_pass
declare_combined_late_lint_pass
early_lint_methods
expand_combined_early_lint_pass_method
expand_combined_early_lint_pass_methods
expand_combined_late_lint_pass_method
expand_combined_late_lint_pass_methods
late_lint_methods
Structs
BufferedEarlyLint
BuiltinCombinedEarlyLintPass
BuiltinCombinedModuleLateLintPass
BuiltinCombinedPreExpansionLintPass
EarlyContext
FutureIncompatibleInfo
LateContext
Lint
LintId
LintStore
Enums
CheckLintNameResult
FindLintError
Level
Statics
ARRAY_INTO_ITER
DEFAULT_LOCALE_RESOURCE
Traits
EarlyCheckNode
EarlyLintPass
LateLintPass
LintContext
LintPass
Functions
check_ast_node
check_crate
late_lint_mod
lint_mod
new_lint_store
provide
register_builtins
register_internals
unerased_lint_store
Type Aliases
LintVec
?
Module
rustc_lint
::
lints
source
·
[
−
]
Structs
ArrayIntoIterDiag
AsyncFnInTraitDiag
AtomicOrderingFence
AtomicOrderingLoad
AtomicOrderingStore
BadOptAccessDiag
BuiltinAnonymousParams
BuiltinBoxPointers
BuiltinClashingExternSub
BuiltinConstNoMangle
BuiltinDeprecatedAttrLink
BuiltinDeprecatedAttrUsed
BuiltinDerefNullptr
BuiltinExplicitOutlives
BuiltinExplicitOutlivesSuggestion
BuiltinFeatureIssueNote
BuiltinIncompleteFeatures
BuiltinIncompleteFeaturesHelp
BuiltinInternalFeatures
BuiltinKeywordIdents
BuiltinMissingCopyImpl
BuiltinMissingDebugImpl
BuiltinMissingDoc
BuiltinMutablesTransmutes
BuiltinNoMangleGeneric
BuiltinNonShorthandFieldPatterns
BuiltinTrivialBounds
BuiltinTypeAliasGenericBounds
BuiltinTypeAliasGenericBoundsSuggestion
BuiltinTypeAliasWhereClause
BuiltinUnexpectedCliConfigName
BuiltinUnexpectedCliConfigValue
BuiltinUngatedAsyncFnTrackCaller
BuiltinUnpermittedTypeInit
BuiltinUnpermittedTypeInitSub
BuiltinUnreachablePub
BuiltinUnstableFeatures
BuiltinUnusedDocComment
BuiltinWhileTrue
CStringPtr
ConfusableIdentifierPair
DefaultHashTypesDiag
DeprecatedLintName
DeprecatedLintNameFromCommandLine
DiagOutOfImpl
DropCopyDiag
DropGlue
DropRefDiag
DropTraitConstraintsDiag
EnumIntrinsicsMemDiscriminate
EnumIntrinsicsMemVariant
Expectation
ExpectationNote
ForLoopsOverFalliblesDiag
ForLoopsOverFalliblesQuestionMark
ForLoopsOverFalliblesSuggestion
ForgetCopyDiag
ForgetRefDiag
HiddenUnicodeCodepointsDiag
HiddenUnicodeCodepointsDiagLabels
IdentifierNonAsciiChar
IdentifierUncommonCodepoints
IgnoredUnlessCrateSpecified
ImproperCTypes
InvalidAtomicOrderingDiag
LintPassByHand
MappingToUnit
MixedScriptConfusables
MultipleSupertraitUpcastable
NonBindingLetSub
NonCamelCaseType
NonExistentDocKeyword
NonFmtPanicBraces
NonFmtPanicUnused
NonSnakeCaseDiag
NonUpperCaseGlobal
NoopMethodCallDiag
OnlyCastu8ToChar
OverflowingBinHex
OverflowingBinHexSignBitSub
OverflowingInt
OverflowingIntHelp
OverflowingLiteral
OverflowingUInt
OverruledAttributeLint
PassByValueDiag
PathStatementDrop
PathStatementNoEffect
QueryInstability
RangeEndpointOutOfRange
RedundantSemicolonsDiag
RemovedLint
RemovedLintFromCommandLine
RenamedLint
RenamedLintFromCommandLine
SuggestChangingAssocTypes
SupertraitAsDerefTarget
SupertraitAsDerefTargetLabel
SuspiciousDoubleRefCloneDiag
SuspiciousDoubleRefDerefDiag
TyQualified
TykindDiag
TykindKind
UndroppedManuallyDropsDiag
UndroppedManuallyDropsSuggestion
UnknownLint
UnknownLintFromCommandLine
UntranslatableDiag
UntranslatableDiagnosticTrivial
UnusedAllocationDiag
UnusedAllocationMutDiag
UnusedClosure
UnusedComparisons
UnusedDef
UnusedDelim
UnusedDelimSuggestion
UnusedGenerator
UnusedImportBracesDiag
UnusedOp
UnusedResult
VariantSizeDifferencesDiag
Enums
ArrayIntoIterDiagSub
BuiltinClashingExtern
BuiltinDeprecatedAttrLinkSuggestion
BuiltinEllipsisInclusiveRangePatternsLint
BuiltinSpecialModuleNameUsed
BuiltinUnsafe
BuiltinUnusedDocCommentSub
ForLoopsOverFalliblesLoopSub
HiddenUnicodeCodepointsDiagSub
InvalidFromUtf8Diag
InvalidNanComparisons
InvalidNanComparisonsSuggestion
InvalidReferenceCastingDiag
NonBindingLet
NonCamelCaseTypeSub
NonSnakeCaseDiagSub
NonUpperCaseGlobalSub
OverflowingBinHexSign
OverflowingBinHexSub
PathStatementDropSub
PtrNullChecksDiag
RenamedLintSuggestion
UnknownLintSuggestion
UnusedDefSuggestion
UnusedOpSuggestion
UseInclusiveRange
Constants
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ArrayIntoIterDiagSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_BuiltinDeprecatedAttrLinkSuggestion
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_BuiltinExplicitOutlivesSuggestion
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_BuiltinFeatureIssueNote
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_BuiltinIncompleteFeaturesHelp
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_BuiltinUnusedDocCommentSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ExpectationNote
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ForLoopsOverFalliblesLoopSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ForLoopsOverFalliblesQuestionMark
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ForLoopsOverFalliblesSuggestion
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_InvalidNanComparisonsSuggestion
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_NonCamelCaseTypeSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_NonUpperCaseGlobalSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_OverflowingBinHexSignBitSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_OverflowingBinHexSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_OverflowingIntHelp
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_PathStatementDropSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_RenamedLintSuggestion
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_SupertraitAsDerefTargetLabel
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_UndroppedManuallyDropsSuggestion
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_UnknownLintSuggestion
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_UnusedDefSuggestion
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_UnusedDelimSuggestion
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_UnusedOpSuggestion
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_UseInclusiveRange
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_ArrayIntoIterDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_AtomicOrderingFence
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_AtomicOrderingLoad
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_AtomicOrderingStore
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BadOptAccessDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinAnonymousParams
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinBoxPointers
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinClashingExtern
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinConstNoMangle
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinDeprecatedAttrLink
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinDeprecatedAttrUsed
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinDerefNullptr
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinEllipsisInclusiveRangePatternsLint
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinExplicitOutlives
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinIncompleteFeatures
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinInternalFeatures
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinKeywordIdents
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinMissingCopyImpl
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinMissingDoc
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinMutablesTransmutes
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinNoMangleGeneric
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinNonShorthandFieldPatterns
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinSpecialModuleNameUsed
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinTrivialBounds
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinTypeAliasGenericBounds
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinTypeAliasWhereClause
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinUnexpectedCliConfigName
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinUnexpectedCliConfigValue
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinUnreachablePub
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinUnsafe
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinUnstableFeatures
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinUnusedDocComment
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_BuiltinWhileTrue
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_CStringPtr
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_ConfusableIdentifierPair
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_DefaultHashTypesDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_DeprecatedLintName
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_DeprecatedLintNameFromCommandLine
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_DiagOutOfImpl
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_DropCopyDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_DropRefDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_EnumIntrinsicsMemDiscriminate
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_EnumIntrinsicsMemVariant
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_Expectation
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_ForLoopsOverFalliblesDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_ForgetCopyDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_ForgetRefDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_HiddenUnicodeCodepointsDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_IdentifierNonAsciiChar
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_IdentifierUncommonCodepoints
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_IgnoredUnlessCrateSpecified
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_InvalidAtomicOrderingDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_InvalidFromUtf8Diag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_InvalidNanComparisons
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_InvalidReferenceCastingDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_LintPassByHand
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_MappingToUnit
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_MixedScriptConfusables
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_MultipleSupertraitUpcastable
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_NonBindingLet
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_NonCamelCaseType
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_NonExistentDocKeyword
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_NonFmtPanicBraces
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_NonSnakeCaseDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_NonUpperCaseGlobal
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_NoopMethodCallDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_OnlyCastu8ToChar
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_OverflowingBinHex
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_OverflowingInt
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_OverflowingLiteral
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_OverflowingUInt
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_OverruledAttributeLint
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_PassByValueDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_PathStatementDrop
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_PathStatementNoEffect
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_PtrNullChecksDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_QueryInstability
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_RangeEndpointOutOfRange
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_RedundantSemicolonsDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_RemovedLint
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_RemovedLintFromCommandLine
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_RenamedLint
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_RenamedLintFromCommandLine
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_SupertraitAsDerefTarget
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_SuspiciousDoubleRefCloneDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_SuspiciousDoubleRefDerefDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_TyQualified
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_TykindDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_TykindKind
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UndroppedManuallyDropsDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UnknownLint
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UnknownLintFromCommandLine
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UntranslatableDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UntranslatableDiagnosticTrivial
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UnusedAllocationDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UnusedAllocationMutDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UnusedClosure
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UnusedComparisons
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UnusedDelim
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UnusedGenerator
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UnusedImportBracesDiag
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UnusedOp
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UnusedResult
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_VariantSizeDifferencesDiag
🔒