pub fn leaks_droppable_temporary_with_limited_lifetime<'tcx>(
cx: &LateContext<'tcx>,
expr: &'tcx Expr<'tcx>,
) -> bool
Expand description
Returns true if expr
creates any temporary whose type references a non-static lifetime and has
a significant drop and does not consume it.