Module rustc_middle::middle

source ·


Type definitions for learning about the dependency formats of all upstream crates (rlibs/dylibs/oh my).
Detecting language items.
Registering limits:
A pass that checks to make sure private fields and methods aren’t used outside their scopes. This pass will also generate a set of exported items which are available for use externally when compiled as a library.
This file declares the ScopeTree type, which describes the parent links in the region hierarchy.
Name resolution for lifetimes: type declarations.
A pass that annotates every item and method with its stability level, propagating default levels lexically from parent to children ast nodes.