pub trait RustcInternal {
type T<'tcx>;
// Required method
fn internal<'tcx>(
&self,
tables: &mut Tables<'_>,
tcx: TyCtxt<'tcx>,
) -> Self::T<'tcx>;
}
Expand description
Trait used to translate a stable construct to its rustc counterpart.
This is basically a mirror of crate::rustc_smir::Stable.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.