fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
497 B13 linesraw
1error[E0641]: cannot cast to a pointer of an unknown kind
2  --> $DIR/order-dependent-cast-inference.rs:5:17
3   |
4LL |     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
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0641`.