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 2d1b754 commit 2fcc137Copy full SHA for 2fcc137
chalk-parse/src/parser.lalrpop
@@ -59,8 +59,8 @@ WellKnownTrait: WellKnownTrait = {
59
"#" "[" "lang" "(" "unsize" ")" "]" => WellKnownTrait::Unsize,
60
};
61
62
-StructReprC: () = "#" "[" "repr" "(" "C" ")" "]";
63
-StructReprPacked: () = "#" "[" "repr" "(" "packed" ")" "]";
+StructReprC: () = "#" "[" "repr(C)" "]";
+StructReprPacked: () = "#" "[" "repr(packed)" "]";
64
65
StructDefn: StructDefn = {
66
<upstream:UpstreamKeyword?> <fundamental:FundamentalKeyword?> <phantom_data:PhantomDataKeyword?> <repr_c:StructReprC?> <repr_packed:StructReprPacked?>
0 commit comments