Macro assert_tokens_empty
Source macro_rules! assert_tokens_empty {
($value:expr) => { ... };
}
Expand description
Asserts that a token stream or Output produces no tokens.
Accepts any type implementing ToTokens. On failure,
prints the token content.
§Examples
ⓘlet output = zyn::Output::from(proc_macro2::TokenStream::new());
zyn::assert_tokens_empty!(output);