Skip to main content
parse_alignment
rustc_
attr_
parsing
1.97.0-nightly
(cb40c25f6 2026-05-04)
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
>