]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/const-eval/heap/alloc_intrinsic_untyped.stderr
Update upstream source from tag 'upstream/1.50.0+dfsg1'
[rustc.git] / src / test / ui / consts / const-eval / heap / alloc_intrinsic_untyped.stderr
1 error: untyped pointers are not allowed in constant
2 --> $DIR/alloc_intrinsic_untyped.rs:7:1
3 |
4 LL | const BAR: *mut i32 = unsafe { intrinsics::const_allocate(4, 4) as *mut i32};
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8