fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: `Src` cannot be safely transmuted into `Unexpected` in the defining scope of `assert::Context` 2 --> $DIR/should_respect_endianness.rs:36:36 3 | 4LL | assert::is_transmutable::<Src, Unexpected>(); 5 | ^^^^^^^^^^ At least one value of `Src` isn't a bit-valid value of `Unexpected` 6 | 7note: required by a bound in `is_transmutable` 8 --> $DIR/should_respect_endianness.rs:14:14 9 | 10LL | pub fn is_transmutable<Src, Dst>() 11 | --------------- required by a bound in this function 12LL | where 13LL | Dst: BikeshedIntrinsicFrom<Src, Context, { 14 | ______________^ 15LL | | Assume::ALIGNMENT 16LL | | .and(Assume::LIFETIMES) 17LL | | .and(Assume::SAFETY) 18LL | | .and(Assume::VALIDITY) 19LL | | }> 20 | |__________^ required by this bound in `is_transmutable` 21 22error: aborting due to previous error 23 24For more information about this error, try `rustc --explain E0277`.