summaryrefslogtreecommitdiffstats
path: root/tests/run-coverage/auxiliary/macro_name_span_helper.rs
blob: 6797c081d938b815d810c774b7813ea1937b1185 (plain)
1
2
3
4
5
6
7
8
9
10
// edition: 2021

#[macro_export]
macro_rules! macro_that_defines_a_function {
    (fn $name:ident () $body:tt) => {
        fn $name () -> () $body
    }
}

// Non-executable comment.