summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-3434/no_entry.rs
blob: a2ecf2c2f99bdfa56f78f764a1d0b208e7e3f5b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#[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();
}