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

Structs§

IndexMap
Similar to rustc’s FxIndexMap, IndexMap with extra safety features added.

Traits§

RustcInternal
Trait used to translate a stable construct to its rustc counterpart.

Functions§

crate_num
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.