summaryrefslogtreecommitdiffstats
path: root/src/test/ui/transmutability/malformed-program-gracefulness/wrong-type-assume.stderr
blob: e1464e02352c6231e1248c261a03948aba7eb4b9 (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
26
27
error[E0308]: mismatched types
  --> $DIR/wrong-type-assume.rs:36:51
   |
LL |     assert::is_transmutable::<Src, Dst, Context, {0u8}, false, false, false>();
   |                                                   ^^^ expected `bool`, found `u8`

error[E0308]: mismatched types
  --> $DIR/wrong-type-assume.rs:37:58
   |
LL |     assert::is_transmutable::<Src, Dst, Context, false, {0u8}, false, false>();
   |                                                          ^^^ expected `bool`, found `u8`

error[E0308]: mismatched types
  --> $DIR/wrong-type-assume.rs:38:65
   |
LL |     assert::is_transmutable::<Src, Dst, Context, false, false, {0u8}, false>();
   |                                                                 ^^^ expected `bool`, found `u8`

error[E0308]: mismatched types
  --> $DIR/wrong-type-assume.rs:39:72
   |
LL |     assert::is_transmutable::<Src, Dst, Context, false, false, false, {0u8}>();
   |                                                                        ^^^ expected `bool`, found `u8`

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0308`.