summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue-3434/no_entry.rs
blob: 0838829fed34893edf0574c7aeaf70a483e3d0ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[rustfmt::skip::macros(another_macro)]
fn foo() {
    another_macro!(
This should be skipped.
        );
}

fn bar() {
    skip_macro_mod!(
This should be skipped.
        );
}

fn baz() {
    let macro_result1 = no_skip_macro! { <div>
this should be mangled</div>
    }.to_string();
}