Module rustc_lint::non_local_def
source · Structs§
- Replace every local type by inference variable.
Statics§
- The
non_local_definitions
lint checks forimpl
blocks and#[macro_export]
macro inside bodies (functions, enum discriminant, …).
Functions§
- Given a def id and a parent impl def id, this checks if the parent def id (modulo modules) correspond to the def id of the parent impl definition.
- Given a path and a parent impl def id, this checks if the if parent resolution def id correspond to the def id of the parent impl definition.