Skip to main content

ResolverAstLoweringExt

Trait ResolverAstLoweringExt 

Source
pub(crate) trait ResolverAstLoweringExt<'tcx> {
    // Required method
    fn legacy_const_generic_args(
        &self,
        expr: &Expr,
        tcx: TyCtxt<'tcx>,
    ) -> Option<Vec<usize>>;
}

Required Methods§

Source

fn legacy_const_generic_args( &self, expr: &Expr, tcx: TyCtxt<'tcx>, ) -> Option<Vec<usize>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'tcx> ResolverAstLoweringExt<'tcx> for ResolverAstLowering<'tcx>

Source§

fn legacy_const_generic_args( &self, expr: &Expr, tcx: TyCtxt<'tcx>, ) -> Option<Vec<usize>>

Implementors§