rustc_lint

Module early

Source
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ยง

Structsยง

Traitsยง

  • Early lints work on different nodes - either on the crate root, or on freshly loaded modules. This trait generalizes over those nodes.

Functionsยง