Function rustc_builtin_macros::concat_bytes::handle_array_element
source · fn handle_array_element(
cx: &mut ExtCtxt<'_>,
guar: &mut Option<ErrorGuaranteed>,
missing_literals: &mut Vec<Span>,
expr: &P<Expr>
) -> Option<u8>
Expand description
Returns expr
as a single byte literal if applicable.
Otherwise, returns None
, and either pushes the expr
’s span to missing_literals
or
updates guar
accordingly.