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 a417902 commit 4823822Copy full SHA for 4823822
tests/rustdoc-json/attrs/repr_c_int_enum.rs
@@ -1,5 +1,10 @@
1
-
+//@ count "$.index[?(@.name=='Foo')].attrs" 1
2
+//@ is "$.index[?(@.name=='Foo')].attrs[*].repr.kind" '"c"'
3
+//@ is "$.index[?(@.name=='Foo')].attrs[*].repr.int" '"u8"'
4
+//@ is "$.index[?(@.name=='Foo')].attrs[*].repr.packed" null
5
+//@ is "$.index[?(@.name=='Foo')].attrs[*].repr.align" 16
6
#[repr(C, u8)]
7
+#[repr(align(16))]
8
pub enum Foo {
9
A(bool) = b'A',
10
B(char) = b'C',
0 commit comments