]>
Commit | Line | Data |
---|---|---|
83c7162d | 1 | error[E0641]: cannot cast to a pointer of an unknown kind |
0731742a | 2 | --> $DIR/order-dependent-cast-inference.rs:5:17 |
83c7162d XL |
3 | | |
4 | LL | let mut y = 0 as *const _; | |
5 | | ^^^^^-------- | |
6 | | | | |
7 | | help: consider giving more type information | |
8 | | | |
9 | = note: The type information given here is insufficient to check whether the pointer cast is valid | |
10 | ||
11 | error: aborting due to previous error | |
12 | ||
60c5eb7d | 13 | For more information about this error, try `rustc --explain E0641`. |