Skip to content

Commit

Permalink
Auto merge of #115527 - oli-obk:drop_maybe_uninit_in_const, r=lcnr
Browse files Browse the repository at this point in the history
Don't require `Drop` for `[PhantomData<T>; N]` where `N` and `T` are generic, if `T` requires `Drop`

fixes rust-lang/rust#115403
fixes rust-lang/rust#115410

This was accidentally regressed in rust-lang/rust#114134, because it was accidentally stabilized in #102204 (cc `@rust-lang/lang,` seems like an innocent stabilization, considering this PR is more of a bugfix than a feature).

While we have a whole month to beta backport this change before the regression hits stable, I'd still prefer not to go through an FCP on this PR (which fixes a regression), if T-lang wants an FCP, I can can open an issue about the change itself.
  • Loading branch information
bors committed Sep 7, 2023
2 parents dddede8 + 115b4dd commit f9f4806
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit f9f4806

Please sign in to comment.