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