Skip to main content

is_ownership_return

Function is_ownership_return 

Source
pub fn is_ownership_return(callee: Option<DefId>) -> bool
Expand description

Whether callee returns ownership of an allocation as a raw pointer (Box::into_raw, CString::into_raw, Arc::into_raw, Rc::into_raw, …).