summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-69602-type-err-during-codegen-ice.stderr
blob: 2c2cd5c5244cf865d0f0b6e5401bc614acc4bc80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
error[E0437]: type `M` is not a member of trait `TraitB`
  --> $DIR/issue-69602-type-err-during-codegen-ice.rs:17:5
   |
LL |     type M   = A;
   |     ^^^^^^^^^^^^^ not a member of trait `TraitB`

error[E0046]: not all trait items implemented, missing: `MyA`
  --> $DIR/issue-69602-type-err-during-codegen-ice.rs:16:1
   |
LL |     type MyA: TraitA;
   |     ---------------- `MyA` from trait
...
LL | impl TraitB for B {
   | ^^^^^^^^^^^^^^^^^ missing `MyA` in implementation

error[E0080]: evaluation of constant value failed
  --> $DIR/issue-69602-type-err-during-codegen-ice.rs:21:17
   |
LL |     let _ = [0; B::VALUE];
   |                 ^^^^^^^^ referenced constant has errors

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0046, E0080, E0437.
For more information about an error, try `rustc --explain E0046`.