Structs§
- NonLocal
Definitions π - Path
Collector πSimple hir::Path collector
Statics§
- The
non_local_definitions
lint checks forimpl
blocks and#[macro_export]
macro inside bodies (functions, enum discriminant, β¦).
Functions§
- did_
has_ πlocal_ parent 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.
- path_
name_ πto_ string Return a βerror message-ableβ ident for the last segment of thePath
- Return for a given
Path
the span until the last args