blob: 36002b850b7e7340bb6c4600e318f93ad79b70bc (
plain)
1
2
3
4
5
6
7
8
|
error: untyped pointers are not allowed in constant
--> $DIR/alloc_intrinsic_untyped.rs:6:1
|
LL | const BAR: *mut i32 = unsafe { intrinsics::const_allocate(4, 4) as *mut i32};
| ^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
|