Trait rustc_middle::ty::new::Const

source ·
pub trait Const<I>
where I: Interner<Const = Self>,
{ // Required method fn new_anon_bound( interner: I, debruijn: DebruijnIndex, var: BoundVar, ty: <I as Interner>::Ty ) -> Self; }

Required Methods§

source

fn new_anon_bound( interner: I, debruijn: DebruijnIndex, var: BoundVar, ty: <I as Interner>::Ty ) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'tcx> Const<TyCtxt<'tcx>> for Const<'tcx>