Struct rustc_typeck::middle::check_match::StaticInlinerUnstable [-] [+] [src]

pub struct StaticInliner<'a, 'tcx> where 'tcx: 'a {
    pub tcx: &'a ctxt<'tcx>,
    pub failed: bool,
    pub renaming_map: Option<&'a mut HashMap<(u32, Span), u32, DefaultState<FnvHasher>>>,
}

Fields

tcx
failed
renaming_map

Methods

impl<'a, 'tcx> StaticInliner<'a, 'tcx>

fn new(tcx: &'b ctxt<'tcx>, renaming_map: Option<&'b mut HashMap<(u32, Span), u32, DefaultState<FnvHasher>>>) -> StaticInliner<'b, 'tcx>

Trait Implementations

impl<'a, 'tcx> Folder for StaticInliner<'a, 'tcx>

fn fold_pat(&mut self, pat: P<Pat>) -> P<Pat>