Open
Description
In #105808 I am adding a hack to prevent combining place projections where one of assignments that would be optimized away contains a niche. This is because optimizing Vec::as_ptr
to a single MIR statement that just loads the underlying *const T
makes us lose the nonnull
LLVM attribute in codegen.
(I am opening this issue early so I can link to it in the PR)