rust/tests/ui/consts/dangling_raw_ptr.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
194 B
Plaintext
Raw Normal View History

error: encountered dangling pointer in final constant
--> $DIR/dangling_raw_ptr.rs:1:1
|
2022-02-13 09:27:59 -06:00
LL | const FOO: *const u32 = {
| ^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error