Struct rustc_mir::borrow_check::nll::region_infer::Constraint[][src]

pub struct Constraint {
    sup: RegionVid,
    sub: RegionVid,
    point: Location,
    next: Option<ConstraintIndex>,
    span: Span,
}
🔬 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?

Fields

🔬 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 region SUP must outlive SUB...

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

Region that must be outlived.

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

At this location.

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

Later on, we thread the constraints onto a linked list grouped by their sub field. So if you had:

Index Constraint Next Field
0 'a: 'b Some(2)
1 'b: 'c None
2 'c: 'b None
🔬 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?

Where did this constraint arise?

Trait Implementations

impl Copy for Constraint
[src]

impl Clone for Constraint
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Constraint
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Constraint
[src]

impl PartialOrd for Constraint
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Constraint
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Hash for Constraint
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Constraint
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for Constraint

impl !Sync for Constraint