Expand description
Module that collects the things that have no stability guarantees.
We want to keep rustc_publicβs IR definitions and logic separate from any sort of conversion and usage of internal rustc code. So we restrict the usage of internal items to be inside this module.
Re-exportsΒ§
use std::marker::PointeeSized;πExperimental use rustc_hir::def::DefKind;πuse rustc_middle::ty::List;πuse rustc_middle::ty::Ty;πuse rustc_middle::ty::TyCtxt;πuse rustc_middle::mir;πuse rustc_middle::ty;πuse rustc_public_bridge::Tables;πuse rustc_public_bridge::context::CompilerCtxt;πuse super::compiler_interface::BridgeTys;πuse crate::CtorKind;πuse crate::ItemKind;π
ModulesΒ§
- convert π
- This module holds the logic to convert rustc internal ADTs into rustc_public ADTs.
- internal_
cx π - Implementation of InternalCx.
TraitsΒ§
- Internal
Cx - Trait that defines the methods that are fine to call from [
RustcInternal].
FunctionsΒ§
- new_
item_ πkind