]> git.proxmox.com Git - rustc.git/blame - src/test/ui/packed-struct/packed-struct-transmute.stderr
New upstream version 1.33.0+dfsg1
[rustc.git] / src / test / ui / packed-struct / packed-struct-transmute.stderr
CommitLineData
0731742a
XL
1error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
2 --> $DIR/packed-struct-transmute.rs:26:24
b7449926
XL
3 |
4LL | let oof: Oof = mem::transmute(foo);
5 | ^^^^^^^^^^^^^^
6 |
0731742a
XL
7 = note: source type: `Foo` (N bits)
8 = note: target type: `Oof` (N bits)
b7449926
XL
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0512`.