1 error[E0158]: associated consts cannot be referenced in patterns
2 --> $DIR/associated-const-type-parameter-arms.rs:20:9
4 LL | A::X => println!("A::X"),
7 error[E0158]: associated consts cannot be referenced in patterns
8 --> $DIR/associated-const-type-parameter-arms.rs:22:9
10 LL | B::X => println!("B::X"),
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0158`.