fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0790]: cannot refer to the associated constant on trait without specifying the corresponding `impl` type 2 --> $DIR/issue-63496.rs:4:21 3 | 4LL | const C: usize; 5 | --------------- `A::C` defined here 6LL | 7LL | fn f() -> ([u8; A::C], [u8; A::C]); 8 | ^^^^ cannot refer to the associated constant of trait 9 10error[E0790]: cannot refer to the associated constant on trait without specifying the corresponding `impl` type 11 --> $DIR/issue-63496.rs:4:33 12 | 13LL | const C: usize; 14 | --------------- `A::C` defined here 15LL | 16LL | fn f() -> ([u8; A::C], [u8; A::C]); 17 | ^^^^ cannot refer to the associated constant of trait 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0790`.