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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
328 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);
2023-10-15 12:00:11 -05:00
| ^^^^^^^^ memory access failed: ALLOC0 has been freed, so this pointer is dangling
2018-10-28 23:09:32 -05:00
error: aborting due to 1 previous error
2018-10-28 23:09:32 -05:00
2021-06-18 12:31:56 -05:00
For more information about this error, try `rustc --explain E0080`.