about summary refs log tree commit diff
path: root/tests/ui/layout/normalization-failure.stderr
blob: 1c78fc6ac41c41766fe42ca67cabd4a4e612e93f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
  --> $DIR/normalization-failure.rs:50:9
   |
LL |         std::mem::transmute::<_, ()>(opaque::<T>().get());
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: source type: `{type error}` (the type has an unknown layout)
   = note: target type: `()` (0 bits)

error: aborting due to 1 previous error

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