]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/dangling_raw_ptr.stderr
Rollup merge of #106963 - compiler-errors:scope-expr-dupe, r=michaelwoerister
[rust.git] / tests / ui / consts / dangling_raw_ptr.stderr
1 error: encountered dangling pointer in final constant
2   --> $DIR/dangling_raw_ptr.rs:1:1
3    |
4 LL | const FOO: *const u32 = {
5    | ^^^^^^^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8