Skip to content

URC enum cannot be bigger than 21 variants #246

Description

@Kezii

how can it be increased?

error[E0277]: the trait bound `(..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...): Alt<_, _, _>` is not satisfied
   --> src/commands/global_urc.rs:247:17
    |
247 | #[derive(Clone, AtatUrc, defmt::Format, PartialEq)]
    |                 ^^^^^^^ unsatisfied trait bound
    |
    = help: the trait `atat::nom::branch::Alt<_, _, _>` is not implemented for `(..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...)`
    = help: the following other types implement trait `atat::nom::branch::Alt<I, O, E>`:
              (A, B)
              (A, B, C)
              (A, B, C, D)
              (A, B, C, D, E)
              (A, B, C, D, E, F)
              (A, B, C, D, E, F, G)
              (A, B, C, D, E, F, G, H)
              (A, B, C, D, E, F, G, H, I)
            and 13 others
note: required by a bound in `alt`
   --> /home/kezi/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/nom-7.1.3/src/branch/mod.rs:47:49
    |
 47 | pub fn alt<I: Clone, O, E: ParseError<I>, List: Alt<I, O, E>>(
    |                                                 ^^^^^^^^^^^^ required by this bound in `alt`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions