fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0158]: associated consts cannot be referenced in patterns 2 --> $DIR/issue-68393-let-pat-assoc-constant.rs:20:40 3 | 4LL | pub fn test<A: Foo, B: Foo>(arg: EFoo, A::X: EFoo) { 5 | ^^^^ 6 7error[E0158]: associated consts cannot be referenced in patterns 8 --> $DIR/issue-68393-let-pat-assoc-constant.rs:22:9 9 | 10LL | let A::X = arg; 11 | ^^^^ 12 13error: aborting due to 2 previous errors 14 15For more information about this error, try `rustc --explain E0158`.