rust/tests/ui/layout/normalization-failure.stderr
2025-08-22 20:10:27 +00:00

13 lines
469 B
Plaintext

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`.