pub trait ExprKindExt<'tcx> {
// Required methods
fn hir_id_and_attributes<S: ExprState<'tcx>>(
&self,
s: &S,
) -> (Option<HirId>, Vec<Attribute>);
fn unroll_scope<S: IsState<'tcx> + HasThir<'tcx>>(
&self,
s: &S,
) -> Expr<'tcx>;
}
Required Methods§
fn hir_id_and_attributes<S: ExprState<'tcx>>( &self, s: &S, ) -> (Option<HirId>, Vec<Attribute>)
fn unroll_scope<S: IsState<'tcx> + HasThir<'tcx>>(&self, s: &S) -> Expr<'tcx>
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.