summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-64506.stderr
blob: 2fe84245b3ef80bf1355a2b2db834f96e7ae0c84 (plain)
1
2
3
4
5
6
7
8
9
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 previous error

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