fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0641]: cannot cast to a pointer of an unknown kind 2 --> $DIR/issue-45730.rs:3:28 3 | 4LL | let x: *const _ = 0 as _; 5 | ^ needs more type information 6 | 7 = note: the type information given here is insufficient to check whether the pointer cast is valid 8 9error[E0641]: cannot cast to a pointer of an unknown kind 10 --> $DIR/issue-45730.rs:5:28 11 | 12LL | let x: *const _ = 0 as *const _; 13 | ^^^^^^^^ needs more type information 14 | 15 = note: the type information given here is insufficient to check whether the pointer cast is valid 16 17error[E0641]: cannot cast to a pointer of an unknown kind 18 --> $DIR/issue-45730.rs:8:44 19 | 20LL | let x = 0 as *const i32 as *const _ as *mut _; 21 | ^^^^^^ needs more type information 22 | 23 = note: the type information given here is insufficient to check whether the pointer cast is valid 24 25error: aborting due to 3 previous errors 26 27For more information about this error, try `rustc --explain E0641`.