Function rustc_mir_build::thir::pattern::check_match::is_binding_by_move
source · [−]fn is_binding_by_move(
cx: &MatchVisitor<'_, '_, '_>,
hir_id: HirId,
span: Span
) -> bool
Expand description
Check if a by-value binding is by-value. That is, check if the binding’s type is not Copy
.