2023-03-21 05:20:00 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/issue-64506.rs:16:22
|
|
|
|
|
|
|
|
|
LL | let x = unsafe { Foo { b: () }.a };
|
2023-05-17 05:30:14 -05:00
|
|
|
| ^^^^^^^^^^^^^^^ constructing invalid value at .inner: encountered a value of uninhabited type `AnonPipe`
|
2023-03-21 05:20:00 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0080`.
|