Module rustc_internal

Module rustc_internal 

Source
Expand description

Export the rustc_internal APIs. Note that this module has no stability guarantees and it is not taken into account for semver. Module that implements the bridge between rustc_public’s IR and internal compiler MIR.

For that, we define APIs that will temporarily be public to 3P that exposes rustc internal APIs until rustc_public’s IR is complete.

Modules§

pretty

Statics§

TLV 🔒

Functions§

crate_num
init 🔒
internal
Convert a stable item into its internal Rust compiler counterpart, if one exists.
run
stable
Convert an internal Rust compiler item into its stable counterpart, if one exists.
with_container 🔒
Loads the current context and calls a function with it. Do not nest these, as that will ICE.