summary refs log tree commit diff
path: root/src/test/ui/packed-struct/packed-struct-transmute.stderr
blob: 5da7d8f7b7e2aa79d2943a42f1015d0b3034c990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0512]: transmute called with types of different sizes
  --> $DIR/packed-struct-transmute.rs:36:24
   |
LL |         let oof: Oof = mem::transmute(foo);
   |                        ^^^^^^^^^^^^^^
   |
   = note: source type: Foo (N bits)
   = note: target type: Oof (N bits)

error: aborting due to previous error

For more information about this error, try `rustc --explain E0512`.