1 error: arbitrary expressions aren't allowed in patterns
2 --> $DIR/patkind-litrange-no-expr.rs:30:13
4 LL | Arith = 1 + 1, //~ ERROR arbitrary expressions aren't allowed in patterns
7 error[E0029]: only char and numeric types are allowed in range patterns
8 --> $DIR/patkind-litrange-no-expr.rs:30:13
10 LL | Arith = 1 + 1, //~ ERROR arbitrary expressions aren't allowed in patterns
11 | ^^^^^ ranges require char or numeric types
13 = note: start type: {integer}
14 = note: end type: {integer}
16 error: aborting due to 2 previous errors
18 For more information about this error, try `rustc --explain E0029`.