2018-08-08 07:28:26 -05:00
|
|
|
error[E0512]: transmute called with types of different sizes
|
2018-08-10 16:46:59 -05:00
|
|
|
--> $DIR/packed-struct-transmute.rs:36:24
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | let oof: Oof = mem::transmute(foo);
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-08-10 16:46:59 -05:00
|
|
|
= note: source type: Foo (N bits)
|
|
|
|
= note: target type: Oof (N bits)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0512`.
|