//! mockalloc-macros
//!
//! Provides the `#[mockalloc::test]` procedural macro for the `mockalloc`
//! crate.
use TokenStream;
use quote;
/// Replacement for the `#[test]` macro to automatically detect allocation
/// bugs from within the test.
///
/// Equivalent to wrapping the test body in
/// `mockalloc::assert_allocs(|| { ... });`.