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