unreachable!()
reached when trying to assign a void
call result to a pointer
#905
Labels
bug
Something isn't working
When trying to run the following code, the compiler hits an unreachable in
llvm_typesystem::cast_if_needed
without a validation error being reported:We should add a validation to catch assignments to pointers, where the RHS is
void
.The text was updated successfully, but these errors were encountered: