trait EvalContextExtPriv<'tcx>: MiriInterpCxExt<'tcx> {
// Provided method
fn os_unfair_lock_get_data<'a>(
&'a mut self,
lock_ptr: &OpTy<'tcx>,
) -> InterpResult<'tcx, &'a MacOsUnfairLock>
where 'tcx: 'a { ... }
}
trait EvalContextExtPriv<'tcx>: MiriInterpCxExt<'tcx> {
// Provided method
fn os_unfair_lock_get_data<'a>(
&'a mut self,
lock_ptr: &OpTy<'tcx>,
) -> InterpResult<'tcx, &'a MacOsUnfairLock>
where 'tcx: 'a { ... }
}