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