summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/dangling_raw_ptr.stderr
blob: bdfe1e4effe3ed4b5a8d3955f9404e3eed0c6e58 (plain)
1
2
3
4
5
6
7
8
error: encountered dangling pointer in final constant
  --> $DIR/dangling_raw_ptr.rs:1:1
   |
LL | const FOO: *const u32 = {
   | ^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error