Skip to main content

leaks_droppable_temporary

Function leaks_droppable_temporary 

Source
pub fn leaks_droppable_temporary<'tcx>(
    cx: &LateContext<'tcx>,
    expr: &'tcx Expr<'tcx>,
) -> bool
Expand description

Returns true if expr creates any temporary that has a significant drop and does not consume it.