{"ast_node_type":"function","tokens":[{"end":35,"kind":"keyword","start":0,"text":"fn"}]}
fn is_non_enum(t: Ty<'_>) -> bool {
/// the type is generic, we can't be certain if it will be an enum so we have to assume that it is.
    !t.is_enum() && !t.has_param()