Skip to main content
parse_alignment
rustc_
attr_
parsing
1.98.0-nightly
(485ec3fbc 2026-06-10)
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
>