[][src]Enum rustc_mir::borrow_check::region_infer::Cause

pub(crate) enum Cause {
    LiveVar(LocalLocation),
    DropVar(LocalLocation),
}

N.B., the variants in Cause are intentionally ordered. Lower values are preferred when it comes to error messages. Do not reorder willy nilly.

Variants

LiveVar(LocalLocation)

point inserted because Local was live at the given Location

DropVar(LocalLocation)

point inserted because Local was dropped at the given Location

Trait Implementations

impl Clone for Cause[src]

impl Copy for Cause[src]

impl Debug for Cause[src]

impl Eq for Cause[src]

impl Ord for Cause[src]

impl PartialEq<Cause> for Cause[src]

impl PartialOrd<Cause> for Cause[src]

impl StructuralEq for Cause[src]

impl StructuralPartialEq for Cause[src]

Auto Trait Implementations

impl RefUnwindSafe for Cause

impl Send for Cause

impl Sync for Cause

impl Unpin for Cause

impl UnwindSafe for Cause

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]