]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/crashes/ice-6252.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / crashes / ice-6252.stderr
CommitLineData
f20569fa 1error[E0412]: cannot find type `PhantomData` in this scope
3c0e092e 2 --> $DIR/ice-6252.rs:8:9
f20569fa
XL
3 |
4LL | _n: PhantomData,
5 | ^^^^^^^^^^^ not found in this scope
6 |
3c0e092e
XL
7help: consider importing one of these items
8 |
9LL | use core::marker::PhantomData;
10 |
11LL | use serde::__private::PhantomData;
f20569fa
XL
12 |
13LL | use std::marker::PhantomData;
14 |
15
16error[E0412]: cannot find type `VAL` in this scope
3c0e092e 17 --> $DIR/ice-6252.rs:10:63
f20569fa
XL
18 |
19LL | impl<N, M> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {}
9c376795
FG
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 | +++++
f20569fa
XL
26
27error[E0046]: not all trait items implemented, missing: `VAL`
3c0e092e 28 --> $DIR/ice-6252.rs:10:1
f20569fa
XL
29 |
30LL | const VAL: T;
064997fb 31 | ------------ `VAL` from trait
f20569fa
XL
32...
33LL | impl<N, M> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {}
064997fb 34 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `VAL` in implementation
f20569fa 35
064997fb 36error: aborting due to 3 previous errors
f20569fa
XL
37
38Some errors have detailed explanations: E0046, E0412.
39For more information about an error, try `rustc --explain E0046`.