Skip to main content

is_box_new

Function is_box_new 

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

Identify standard Box::new and Box::new_in. Dependency slicing keeps all inputs, and constructor modeling avoids treating the input as a pre-existing raw owner pointer.