Skip to main content

raw_pointer_view_from_mir

Function raw_pointer_view_from_mir 

Source
fn raw_pointer_view_from_mir(
    tcx: TyCtxt<'_>,
    callee: DefId,
) -> Option<(HazardKind, usize)>
Expand description

Recognize a returned reference formed by dereferencing a raw pointer derived from one of the callee’s raw-pointer parameters.