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/issue-28625.rs:22:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | unsafe { std::mem::transmute(a) } //~ ERROR transmute called with types of different sizes
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-08-10 16:46:59 -05:00
|
|
|
= note: source type: &ArrayPeano<T> (N bits)
|
|
|
|
= note: target type: &[T] (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`.
|