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