Type Alias rustc_hir_typeck::upvar::InferredCaptureInformation

source ·
type InferredCaptureInformation<'tcx> = Vec<(Place<'tcx>, CaptureInfo)>;
Expand description

Intermediate format to store a captured Place and associated ty::CaptureInfo during capture analysis. Information in this map feeds into the minimum capture analysis pass.

Aliased Type§

struct InferredCaptureInformation<'tcx> {
    buf: RawVec<(Place<'tcx>, CaptureInfo)>,
    len: usize,
}

Fields§

§buf: RawVec<(Place<'tcx>, CaptureInfo)>§len: usize

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 24 bytes