syn::classify

Function expr_leading_label

source
pub(crate) fn expr_leading_label(expr: &Expr) -> bool
Expand description

Whether the expression’s first token is the label of a loop/block.