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 Stable MIR and internal compiler MIR.

For that, we define APIs that will temporarily be public to 3P that exposes rustc internal APIs until stable MIR 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.