Skip to main content

Module linter

Module linter 

Source

Structs§

EarlyLintVisitor
Dispatches an AST traversal to a collection of early lint passes.
LateLintVisitor
Dispatches a HIR traversal to a collection of late lint passes.
LintContext
Context supplied to AST and HIR lint passes.
ProjectLintEmitter
Context supplied to project-wide lint passes.
ProjectSource
A project-owned source visible to a project-wide lint pass.
Suggestion
A diagnostic suggestion emitted by a lint.

Enums§

SuggestionKind
The presentation form of a lint suggestion.

Traits§

EarlyLintPass
A lint pass that runs directly on the parsed AST.
LateLintPass
A lint pass that runs on Solar’s analyzed HIR.
Lint
Static metadata shared by a lint’s diagnostics.
LintPolicy
Toolchain policy applied while emitting lint diagnostics.
Linter
Trait representing a linter for a language supported by Foundry.
ProjectLintPass
A lint pass that inspects all project-owned sources together.