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: BaseState<'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: BaseState<'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.
Implementations on Foreign Types§
Source§impl<'tcx> ExprKindExt<'tcx> for Expr<'tcx>
Available on crate feature rustc only.
impl<'tcx> ExprKindExt<'tcx> for Expr<'tcx>
Available on crate feature
rustc only.