Skip to main content

Module unstable

Module unstable 

Source
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Β§

InternalCx
Trait that defines the methods that are fine to call from [RustcInternal].

FunctionsΒ§

new_item_kind πŸ”’