Skip to main content

is_ub_check

Function is_ub_check 

Source
pub fn is_ub_check(tcx: TyCtxt<'_>, callee: DefId) -> bool
Expand description

Identify standard-library UB and precondition checks. The path builder skips their costly MIR, while the VM handles them as check calls.