std::core::mem

@assert_leak

macro void @assert_leak($report = true; @body()) @builtin
Assert on memory leak in the scope of the macro body.

Parameters