rust/tests/ui/consts/const-eval/issue-49296.stderr

10 lines
320 B
Plaintext
Raw Normal View History

2021-06-18 12:31:56 -05:00
error[E0080]: evaluation of constant value failed
--> $DIR/issue-49296.rs:9:16
2018-10-28 23:09:32 -05:00
|
LL | const X: u64 = *wat(42);
| ^^^^^^^^ pointer to alloc3 was dereferenced after this allocation got freed
2018-10-28 23:09:32 -05:00
error: aborting due to previous error
2021-06-18 12:31:56 -05:00
For more information about this error, try `rustc --explain E0080`.