fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0412]: cannot find type `PhantomData` in this scope 2 --> $DIR/issue-77919.rs:9:9 3 | 4LL | _n: PhantomData, 5 | ^^^^^^^^^^^ not found in this scope 6 | 7help: consider importing this struct 8 | 9LL + use std::marker::PhantomData; 10 | 11 12error[E0412]: cannot find type `VAL` in this scope 13 --> $DIR/issue-77919.rs:11:63 14 | 15LL | impl<N, M> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {} 16 | ^^^ not found in this scope 17 | 18help: you might be missing a type parameter 19 | 20LL | impl<N, M, VAL> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {} 21 | +++++ 22 23error[E0046]: not all trait items implemented, missing: `VAL` 24 --> $DIR/issue-77919.rs:11:1 25 | 26LL | const VAL: T; 27 | ------------ `VAL` from trait 28... 29LL | impl<N, M> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {} 30 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `VAL` in implementation 31 32error: aborting due to 3 previous errors 33 34Some errors have detailed explanations: E0046, E0412. 35For more information about an error, try `rustc --explain E0046`.