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