fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0412]: cannot find type `Missing` in this scope 2 --> $DIR/unknown_src_field.rs:20:27 3 | 4LL | #[repr(C)] struct Dst(Missing); 5 | ^^^^^^^ not found in this scope 6 7error[E0277]: `Src` cannot be safely transmuted into `Dst` in the defining scope of `should_gracefully_handle_unknown_dst_field::Context` 8 --> $DIR/unknown_src_field.rs:21:36 9 | 10LL | assert::is_transmutable::<Src, Dst, Context>(); 11 | ^^^ `Dst` has an unknown layout 12 | 13note: required by a bound in `is_transmutable` 14 --> $DIR/unknown_src_field.rs:13:14 15 | 16LL | pub fn is_transmutable<Src, Dst, Context>() 17 | --------------- required by a bound in this function 18LL | where 19LL | Dst: BikeshedIntrinsicFrom<Src, Context> 20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `is_transmutable` 21 22error: aborting due to 2 previous errors 23 24Some errors have detailed explanations: E0277, E0412. 25For more information about an error, try `rustc --explain E0277`.