blob: 00ab0dfc557dd354ba241071007bbceb8bde01ba (
plain)
1
2
3
4
5
6
7
8
|
error: untyped pointers are not allowed in constant
--> $DIR/alloc_intrinsic_nontransient_fail.rs:6:1
|
LL | const FOO: *const i32 = foo();
| ^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
|