summary refs log tree commit diff
path: root/src/test/ui/consts/const-eval/issue-49296.stderr
blob: 798f130a4baf6fb1bfa2c39afd888d2da3afcad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error: any use of this value will cause an error
  --> $DIR/issue-49296.rs:19:16
   |
LL | const X: u64 = *wat(42);
   | ---------------^^^^^^^^-
   |                |
   |                pointer to alloc2 was dereferenced after this allocation got freed
   |
   = note: `#[deny(const_err)]` on by default

error: aborting due to previous error