1 2 3 4 5 6
use proc_macro::TokenStream; #[proc_macro] pub fn let_bcb(item: TokenStream) -> TokenStream { format!("let bcb{} = graph::BasicCoverageBlock::from_usize({});", item, item).parse().unwrap() }