Module rustc_typeck::check::generator_interior[][src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

This calculates the types which has storage which lives across a suspension point in a generator from the perspective of typeck. The actual types used at runtime is calculated in rustc_mir::transform::generator and may be a subset of the types computed here.

Re-exports

use rustc::hir::def_id::DefId;
use rustc::hir::intravisit;
use rustc::hir::intravisit::Visitor;
use rustc::hir::intravisit::NestedVisitorMap;
use rustc::hir;
use rustc::hir::Pat;
use rustc::hir::PatKind;
use rustc::hir::Expr;
use rustc::middle::region;
use rustc::ty;
use rustc::ty::Ty;
use rustc_data_structures::sync::Lrc;
use syntax_pos::Span;
use super::FnCtxt;
use util::nodemap::FxHashMap;
use util::nodemap::FxHashMap;

Structs

InteriorVisitor [
Experimental
]

Functions

resolve_interior [
Experimental
]