Struct rustc::middle::typeck::check::Inherited[src]

pub struct Inherited<'a> {
    // some fields omitted
}

Fields that are part of a FnCtxt which are inherited by closures defined within the function. For example:

fn foo() {
    bar(proc() { ... })
}

Here, the function foo() and the closure passed to bar() will each have their own FnCtxt, but they will share the inherited fields.