Enum rustc_mir::dataflow::move_paths::MoveError [−][src]
pub enum MoveError<'tcx> {
IllegalMove {
cannot_move_out_of: IllegalMoveOrigin<'tcx>,
},
UnionMove {
path: MovePathIndex,
},
}Variants
Show fields
Fields of IllegalMove
cannot_move_out_of: IllegalMoveOrigin<'tcx>Show fields
Fields of UnionMove
path: MovePathIndexImplementations
impl<'tcx> MoveError<'tcx>[src]
impl<'tcx> MoveError<'tcx>[src]fn cannot_move_out_of(
location: Location,
kind: IllegalMoveOriginKind<'tcx>
) -> Self[src]
location: Location,
kind: IllegalMoveOriginKind<'tcx>
) -> Self
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for MoveError<'tcx>
impl<'tcx> !Send for MoveError<'tcx>
impl<'tcx> !Sync for MoveError<'tcx>
impl<'tcx> Unpin for MoveError<'tcx>
impl<'tcx> !UnwindSafe for MoveError<'tcx>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]