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.
fn raw_pointer_view_from_mir(
tcx: TyCtxt<'_>,
callee: DefId,
) -> Option<(HazardKind, usize)>Recognize a returned reference formed by dereferencing a raw pointer derived from one of the callee’s raw-pointer parameters.