rust/tests/ui/consts/raw-ptr-const.stderr

9 lines
232 B
Plaintext
Raw Normal View History

error: untyped pointers are not allowed in constant
2022-09-21 11:05:20 +00:00
--> $DIR/raw-ptr-const.rs:5:1
|
LL | const CONST_RAW: *const Vec<i32> = &Vec::new() as *const _;
2022-02-13 15:27:59 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error