]> git.lizzy.rs Git - rust.git/blob - src/test/ui/transmutability/malformed-program-gracefulness/wrong-type-assume.stderr
Rollup merge of #94467 - ibraheemdev:master, r=pnkfelix
[rust.git] / src / test / ui / transmutability / malformed-program-gracefulness / wrong-type-assume.stderr
1 error[E0308]: mismatched types
2   --> $DIR/wrong-type-assume.rs:36:51
3    |
4 LL |     assert::is_transmutable::<Src, Dst, Context, {0u8}, false, false, false>();
5    |                                                   ^^^ expected `bool`, found `u8`
6
7 error[E0308]: mismatched types
8   --> $DIR/wrong-type-assume.rs:37:58
9    |
10 LL |     assert::is_transmutable::<Src, Dst, Context, false, {0u8}, false, false>();
11    |                                                          ^^^ expected `bool`, found `u8`
12
13 error[E0308]: mismatched types
14   --> $DIR/wrong-type-assume.rs:38:65
15    |
16 LL |     assert::is_transmutable::<Src, Dst, Context, false, false, {0u8}, false>();
17    |                                                                 ^^^ expected `bool`, found `u8`
18
19 error[E0308]: mismatched types
20   --> $DIR/wrong-type-assume.rs:39:72
21    |
22 LL |     assert::is_transmutable::<Src, Dst, Context, false, false, false, {0u8}>();
23    |                                                                        ^^^ expected `bool`, found `u8`
24
25 error: aborting due to 4 previous errors
26
27 For more information about this error, try `rustc --explain E0308`.