]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/raw-ptr-const.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / consts / raw-ptr-const.stderr
CommitLineData
f9f354fc
XL
1error: untyped pointers are not allowed in constant
2 --> $DIR/raw-ptr-const.rs:7:1
3 |
4LL | const CONST_RAW: *const Vec<i32> = &Vec::new() as *const _;
064997fb 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f9f354fc
XL
6
7error: aborting due to previous error
8