assert2
assert!(...)
and check!(...)
macros inspired by Catch2.
This crate is currently a work in progress.
It relies on a nightly compiler with the proc_macro_hygiene
, proc_macro_span
and specialization
features.
As a user of the crate, you also need to enable the proc_macro_hygiene
feature.
Example
use check;
let mut vec = Vec new;
vec.push;
check!;
check!;