Enum rustc_borrowck::diagnostics::move_errors::GroupedMoveError[][src]

enum GroupedMoveError<'tcx> {
    MovesFromPlace {
        original_path: Place<'tcx>,
        span: Span,
        move_from: Place<'tcx>,
        kind: IllegalMoveOriginKind<'tcx>,
        binds_to: Vec<Local>,
    },
    MovesFromValue {
        original_path: Place<'tcx>,
        span: Span,
        move_from: MovePathIndex,
        kind: IllegalMoveOriginKind<'tcx>,
        binds_to: Vec<Local>,
    },
    OtherIllegalMove {
        original_path: Place<'tcx>,
        use_spans: UseSpans<'tcx>,
        kind: IllegalMoveOriginKind<'tcx>,
    },
}

Variants

MovesFromPlace

Fields of MovesFromPlace

original_path: Place<'tcx>span: Spanmove_from: Place<'tcx>kind: IllegalMoveOriginKind<'tcx>binds_to: Vec<Local>
MovesFromValue

Fields of MovesFromValue

original_path: Place<'tcx>span: Spanmove_from: MovePathIndexkind: IllegalMoveOriginKind<'tcx>binds_to: Vec<Local>
OtherIllegalMove

Fields of OtherIllegalMove

original_path: Place<'tcx>use_spans: UseSpans<'tcx>kind: IllegalMoveOriginKind<'tcx>

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Layout

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 104 bytes

Size for each variant: