Source code
Revision control
Copy as Markdown
Other Tools
#![deny(warnings)]
use paste::paste;
macro_rules! m {
($i:ident) => {
paste! {
pub fn [<foo $i>]() {}
}
};
}
m!(Bar);
fn main() {}