]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/skip_macro_invocations/names.rs
Rollup merge of #105552 - mattjperez:add-incompatible-types-note, r=compiler-errors
[rust.git] / src / tools / rustfmt / tests / source / skip_macro_invocations / names.rs
1 // rustfmt-skip_macro_invocations: ["foo","bar"]
2
3 // Should skip this invocation
4 foo!(
5         const _: u8 = 0;
6 );
7
8 // Should skip this invocation
9 bar!(
10         const _: u8 = 0;
11 );
12
13 // Should not skip this invocation
14 baz!(
15         const _: u8 = 0;
16 );