[][src]Struct rustc_mir::transform::generator::StorageConflictVisitor

pub(in transform::generator) struct StorageConflictVisitor<'mir, 'tcx, 's> {
    body: &'mir Body<'tcx>,
    saved_locals: &'s GeneratorSavedLocals,
    local_conflicts: BitMatrix<Local, Local>,
}

Fields

body: &'mir Body<'tcx>saved_locals: &'s GeneratorSavedLocalslocal_conflicts: BitMatrix<Local, Local>

Implementations

impl<'body, 'tcx, 's> StorageConflictVisitor<'body, 'tcx, 's>[src]

pub(in transform::generator) fn apply_state(
    &mut self,
    flow_state: &BitSet<Local>,
    loc: Location
)
[src]

Trait Implementations

impl<'mir, 'tcx, '_> ResultsVisitor<'mir, 'tcx> for StorageConflictVisitor<'mir, 'tcx, '_>[src]

type FlowState = BitSet<Local>

Auto Trait Implementations

impl<'mir, 'tcx, 's> !RefUnwindSafe for StorageConflictVisitor<'mir, 'tcx, 's>

impl<'mir, 'tcx, 's> !Send for StorageConflictVisitor<'mir, 'tcx, 's>

impl<'mir, 'tcx, 's> !Sync for StorageConflictVisitor<'mir, 'tcx, 's>

impl<'mir, 'tcx, 's> Unpin for StorageConflictVisitor<'mir, 'tcx, 's> where
    'tcx: 'mir, 

impl<'mir, 'tcx, 's> !UnwindSafe for StorageConflictVisitor<'mir, 'tcx, 's>

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, 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]