We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b455d1 commit b535436Copy full SHA for b535436
tests/source/skip_macro_names_all.rs
@@ -0,0 +1,16 @@
1
+// rustfmt-skip_macro_names: ["*","items"]
2
+
3
+macro_rules! items {
4
+ ($($arg:item)*) => { $($arg)* };
5
+}
6
7
+// Should skip this invocation
8
+items!(
9
+ const _: u8 = 0;
10
+);
11
12
+// Should also skip this invocation, as the wildcard covers it
13
+use self::items as renamed_items;
14
+renamed_items!(
15
16
tests/target/skip_macro_names_all.rs
0 commit comments