We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Attribute
1 parent 49b7d1d commit 1ca7cb1Copy full SHA for 1ca7cb1
tests/rustdoc-json/attrs/inner_vs_outer.rs
@@ -0,0 +1,7 @@
1
+#![no_std]
2
+
3
+//@ is "$.index[?(@.name=='foo')].attrs" '[{"content": "#[allow(unused)]", "is_inner": false}, {"content": "#[allow(dead_code)]", "is_inner": true}]'
4
+#[allow(unused)]
5
+pub mod foo {
6
+ #![allow(dead_code)]
7
+}
0 commit comments