summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/dangling-alloc-id-ice.stderr
blob: 0a1cca4ca4d472396e8df788148deaedd6b51f31 (plain)
1
2
3
4
5
6
7
8
error: encountered dangling pointer in final constant
  --> $DIR/dangling-alloc-id-ice.rs:8:1
   |
LL | const FOO: &() = {
   | ^^^^^^^^^^^^^^

error: aborting due to previous error