Expand description
Implementation of the early lint pass.
The early lint pass works on AST nodes after macro expansion and name resolution, just before AST lowering. These lints are for purely syntactical lints.
Modulesยง
- diagnostics ๐
Macrosยง
- impl_
early_ ๐lint_ pass - lint_
callback ๐
Structsยง
- Early
Context AndPass - Implements the AST traversal for early lint passes.
T
provides thecheck_*
methods. - Runtime
Combined ๐Early Lint Pass
Traitsยง
- Early
Check Node - Early lints work on different nodes - either on the crate root, or on freshly loaded modules. This trait generalizes over those nodes.