Struct rustc_lint::middle::check_match::StaticInliner [−] [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>>>,
}
Unstable

Fields

tcx
Unstable
failed
Unstable
renaming_map
Unstable

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>

Unstable

Trait Implementations

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

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