1 error[E0158]: associated consts cannot be referenced in patterns
2 --> $DIR/issue-68393-let-pat-assoc-constant.rs:20:40
4 LL | pub fn test<A: Foo, B: Foo>(arg: EFoo, A::X: EFoo) {
7 error[E0158]: associated consts cannot be referenced in patterns
8 --> $DIR/issue-68393-let-pat-assoc-constant.rs:22:9
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0158`.