Enum rustc::mir::ClosureOutlivesSubject[][src]

pub enum ClosureOutlivesSubject<'tcx> {
    Ty(Ty<'tcx>),
    Region(RegionVid),
}
🔬 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?

The subject of a ClosureOutlivesRequirement -- that is, the thing that must outlive some region.

Variants

🔬 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?

Subject is a type, typically a type parameter, but could also be a projection. Indicates a requirement like T: 'a being passed to the caller, where the type here is T.

The type here is guaranteed not to contain any free regions at present.

🔬 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?

Subject is a free region from the closure. Indicates a requirement like 'a: 'b being passed to the caller; the region here is 'a.

Trait Implementations

impl<'a, 'gcx> HashStable<StableHashingContext<'a>> for ClosureOutlivesSubject<'gcx>
[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?

impl<'tcx> Copy for ClosureOutlivesSubject<'tcx>
[src]

impl<'tcx> Clone for ClosureOutlivesSubject<'tcx>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'tcx> Debug for ClosureOutlivesSubject<'tcx>
[src]

Formats the value using the given formatter. Read more

impl<'tcx> Encodable for ClosureOutlivesSubject<'tcx>
[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?

impl<'tcx> Decodable for ClosureOutlivesSubject<'tcx>
[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?

Auto Trait Implementations

impl<'tcx> !Send for ClosureOutlivesSubject<'tcx>

impl<'tcx> !Sync for ClosureOutlivesSubject<'tcx>