]> git.lizzy.rs Git - rust.git/blob - tests/ui/order-dependent-cast-inference.stderr
Rollup merge of #107455 - tshepang:better-name, r=wesleywiser
[rust.git] / tests / ui / order-dependent-cast-inference.stderr
1 error[E0641]: cannot cast to a pointer of an unknown kind
2   --> $DIR/order-dependent-cast-inference.rs:5:22
3    |
4 LL |     let mut y = 0 as *const _;
5    |                      ^^^^^^^^ needs more type information
6    |
7    = note: the type information given here is insufficient to check whether the pointer cast is valid
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0641`.