Sema: allow `@ptrCast` slice of zero-bit type to slice of non-zero-bit type

This is actually completely well-defined. The resulting slice always has
0 elements. The only disallowed case is casting *to* a slice of a
zero-bit type, because in that case, you cna't figure out how many
destination elements to use (and there's *no* valid destination length
if the source slice corresponds to more than 0 bits).
d53cc5e5b2mlugg committed on 3/31/2025, 11:03:08 PM· committed by Andrew Kelleyparent0bdc0bb
2 files changedLine totals unavailable