rust/tests/ui/consts/issue-64506.stderr

10 lines
373 B
Plaintext

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