fn check_literal_item<N>( ctx: &AstCtx<'_>, item: &N, kind: &str, body: Option<Expr>, violations: &mut Vec<Violation>, )where N: AstNode + HasAttrs + HasDocComments + HasName + HasVisibility,