Module context

Source
Expand description

Basic types for managing and implementing lints.

See https://rustc-dev-guide.rust-lang.org/diagnostics.html for an overview of how lints are implemented.

Structsยง

EarlyContext
Context for lint checking of the AST, after expansion, before lowering to HIR.
LateContext
Context for lint checking outside of type inference.
LintAlias ๐Ÿ”’
LintGroup ๐Ÿ”’
LintStore
Information about the registered lints.

Enumsยง

CheckLintNameResult
FindLintError
TargetLint ๐Ÿ”’
The target of the by_name map, which accounts for renaming/deprecation.

Traitsยง

LintContext

Type Aliasesยง

EarlyLintPassFactory ๐Ÿ”’
LateLintPassFactory ๐Ÿ”’