Struct rustc_trans::middle::typeck::rscope::ShiftedRscopeExperimental [-]  [+] [src]

pub struct ShiftedRscope<'r> {
    // some fields omitted
}

A scope which simply shifts the Debruijn index of other scopes to account for binding levels.

Methods

impl<'r> ShiftedRscope<'r>

fn new(base_scope: &'r RegionScope) -> ShiftedRscope<'r>

Trait Implementations

impl<'r> RegionScope for ShiftedRscope<'r>

fn default_region_bound(&self, span: Span) -> Option<Region>

fn anon_regions(&self, span: Span, count: uint) -> Result<Vec<Region>, Option<Vec<(String, uint)>>>