[][src]Function assert_no_alloc::violation_count

pub fn violation_count() -> u32

Returns the count of allocation warnings emitted so far.

Only available when the warn_debug or warn release features are enabled.