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.
Macrosยง
- impl_
early_ ๐lint_ pass - lint_
callback ๐
Structsยง
- Implements the AST traversal for early lint passes.
T
provides thecheck_*
methods.
Traitsยง
- Early lints work on different nodes - either on the crate root, or on freshly loaded modules. This trait generalizes over those nodes.
Functionsยง
- check_
ast_ ๐node_ inner