rust/src/test/ui/consts/raw-ptr-const.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
232 B
Plaintext
Raw Normal View History

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