]>
Commit | Line | Data |
---|---|---|
353b0b11 | 1 | error[E0277]: `Superset` cannot be safely transmuted into `Subset` in the defining scope of `assert::Context` |
064997fb FG |
2 | --> $DIR/should_reject_contraction.rs:35:41 |
3 | | | |
4 | LL | assert::is_transmutable::<Superset, Subset>(); | |
353b0b11 | 5 | | ^^^^^^ At least one value of `Superset` isn't a bit-valid value of `Subset` |
064997fb | 6 | | |
064997fb FG |
7 | note: required by a bound in `is_transmutable` |
8 | --> $DIR/should_reject_contraction.rs:13:14 | |
9 | | | |
10 | LL | pub fn is_transmutable<Src, Dst>() | |
9ffffee4 | 11 | | --------------- required by a bound in this function |
064997fb | 12 | LL | where |
f2b60f7d FG |
13 | LL | Dst: BikeshedIntrinsicFrom<Src, Context, { Assume::SAFETY }> |
14 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `is_transmutable` | |
064997fb FG |
15 | |
16 | error: aborting due to previous error | |
17 | ||
18 | For more information about this error, try `rustc --explain E0277`. |