[][src]Module rustc::middle

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Modules

borrowckInternal
cstoreInternal

the rustc crate store interface. This also includes types that are mostly used as a part of that interface, but these should probably get a better home if someone can find one.

deadInternal
dependency_formatInternal

Resolution of mixing rlibs and dylibs

entryInternal
exported_symbolsInternal
expr_use_visitorInternal

A different sort of visitor for walking fn bodies. Unlike the normal visitor, which just walks the entire body in one shot, the ExprUseVisitor determines how expressions are being used.

free_regionInternal

This module handles the relationships between "free regions", i.e., lifetime parameters. Ordinarily, free regions are unrelated to one another, but they can be related via implied or explicit bounds. In that case, we track the bounds using the TransitiveRelation type, and use that to decide when one free region outlives another, and so forth.

intrinsicckInternal
lang_itemsInternal

Detecting language items.

lib_featuresInternal
livenessInternal

A classic liveness analysis based on dataflow over the AST. Computes, for each local variable in a function, whether that variable is live at a given point. Program execution points are identified by their IDs.

mem_categorizationInternal

Categorization

privacyInternal

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.

reachableInternal
recursion_limitInternal
regionInternal

This file builds up the ScopeTree, which describes the parent links in the region hierarchy.

resolve_lifetimeInternal

Name resolution for lifetimes.

stabilityInternal

A pass that annotates every item and method with its stability level, propagating default levels lexically from parent to children ast nodes.

weak_lang_itemsInternal

Validity checking for weak lang items