bbcf66a4a1
Return `false` from `needs_drop` for all zero-sized arrays. Resolves #65348. This changes the result of the `needs_drop` query from `true` to `false` for types such as `[Box<i32>; 0]`. I believe this change to be sound because a zero-sized array can never actually hold a value. This is an elegant way of resolving #65348 and #64945, but obviously it has much broader implications. |
||
---|---|---|
.. | ||
generic | ||
impls | ||
move_paths | ||
at_location.rs | ||
drop_flag_effects.rs | ||
generic.rs | ||
graphviz.rs | ||
mod.rs |