rust/tests/coverage/auxiliary/macro_name_span_helper.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
186 B
Rust
Raw Normal View History

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