rust/tests/coverage/auxiliary/macro_name_span_helper.rs

11 lines
186 B
Rust

//@ edition: 2021
#[macro_export]
macro_rules! macro_that_defines_a_function {
(fn $name:ident () $body:tt) => {
fn $name () -> () $body
}
}
// Non-executable comment.