Skip to main content

operand_is_ptr_metadata

Function operand_is_ptr_metadata 

Source
fn operand_is_ptr_metadata<'tcx>(
    body: &Body<'tcx>,
    operand: &Operand<'tcx>,
) -> bool
Expand description

Whether operand (through copy/move temps) is PtrMetadata(slice), including a slice.len() call (which is semantically PtrMetadata).