pub fn is_box_new(tcx: TyCtxt<'_>, did: DefId) -> bool
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.
Box::new
Box::new_in