[][src]Enum rustc_mir::borrow_check::LocalMutationIsAllowed

pub(in borrow_check) enum LocalMutationIsAllowed {

When checking permissions for a place access, this flag is used to indicate that an immutable local place can be mutated.



We want use of immutable upvars to cause a "write to immutable upvar" error, not an "reassignment" error.


Trait Implementations

impl Clone for LocalMutationIsAllowed[src]

impl Copy for LocalMutationIsAllowed[src]

impl Debug for LocalMutationIsAllowed[src]

impl Eq for LocalMutationIsAllowed[src]

impl PartialEq<LocalMutationIsAllowed> for LocalMutationIsAllowed[src]

impl StructuralEq for LocalMutationIsAllowed[src]

impl StructuralPartialEq for LocalMutationIsAllowed[src]

Auto Trait Implementations

impl RefUnwindSafe for LocalMutationIsAllowed

impl Send for LocalMutationIsAllowed

impl Sync for LocalMutationIsAllowed

impl Unpin for LocalMutationIsAllowed

impl UnwindSafe for LocalMutationIsAllowed

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]