]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3434/no_entry.rs
Rollup merge of #95040 - frank-king:fix/94981, r=Mark-Simulacrum
[rust.git] / src / tools / rustfmt / tests / target / issue-3434 / no_entry.rs
1 #[rustfmt::skip::macros(another_macro)]
2 fn foo() {
3     another_macro!(
4 This should be skipped.
5         );
6 }
7
8 fn bar() {
9     skip_macro_mod!(
10 This should be skipped.
11         );
12 }
13
14 fn baz() {
15     let macro_result1 = no_skip_macro! { <div>
16     this should be mangled</div>
17         }
18     .to_string();
19 }