Skip to main content
parse_alignment
rustc_
attr_
parsing
1.99.0-nightly
(89c61a754 2026-07-23)
In rustc_
attr_
parsing::
attributes::
repr
rustc_attr_parsing
::
attributes
::
repr
Function
parse_
alignment
Copy item path
Source
fn parse_alignment( node: &
LitKind
, cx: &
AcceptContext
<'_, '_>, ) ->
Result
<
Align
,
String
>