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.
2 parents eec833f + 27e269e commit 6c9ee31Copy full SHA for 6c9ee31
tests/source/skip.rs
@@ -63,3 +63,11 @@ fn skip_on_statements() {
63
#[cfg_attr(rustfmt, rustfmt_skip)]
64
foo( a, b , c)
65
}
66
+
67
+// Check that the skip attribute applies to other attributes.
68
+#[rustfmt_skip]
69
+#[cfg
70
+( a , b
71
+)]
72
+fn
73
+main() {}
tests/target/skip.rs
0 commit comments