diff options
Diffstat (limited to 'tests/ui/consts/const-eval/issue-49296.stderr')
-rw-r--r-- | tests/ui/consts/const-eval/issue-49296.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/consts/const-eval/issue-49296.stderr b/tests/ui/consts/const-eval/issue-49296.stderr new file mode 100644 index 000000000..cc4f1594c --- /dev/null +++ b/tests/ui/consts/const-eval/issue-49296.stderr @@ -0,0 +1,9 @@ +error[E0080]: evaluation of constant value failed + --> $DIR/issue-49296.rs:9:16 + | +LL | const X: u64 = *wat(42); + | ^^^^^^^^ pointer to alloc3 was dereferenced after this allocation got freed + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0080`. |