]> git.lizzy.rs Git - rust.git/commit
Auto merge of #82122 - bstrie:dep4real, r=dtolnay
authorbors <bors@rust-lang.org>
Wed, 17 Mar 2021 19:39:03 +0000 (19:39 +0000)
committerbors <bors@rust-lang.org>
Wed, 17 Mar 2021 19:39:03 +0000 (19:39 +0000)
commit36f1f04f18b89ba4a999bcfd6584663fd6fc1c5d
treeb459b40c8e394c6495440e7b5a7595c99e951ea3
parentb4adc21c4fa245994b4936df5b4f7d94ca633c5d
parent49aa79ec11fe40c67e160d9663addb7a0b7151f9
Auto merge of #82122 - bstrie:dep4real, r=dtolnay

Deprecate `intrinsics::drop_in_place` and `collections::Bound`, which accidentally weren't deprecated

Fixes #82080.

I've taken the liberty of updating the `since` values to 1.52, since an unobservable deprecation isn't much of a deprecation (even the detailed release notes never bothered to mention these deprecations).

As mentioned in the issue I'm *pretty* sure that using a type alias for `Bound` is semantically equivalent to the re-export; [the reference implies](https://doc.rust-lang.org/reference/items/type-aliases.html) that type aliases only observably differ from types when used on unit structs or tuple structs, whereas `Bound` is an enum.
library/core/src/intrinsics.rs
src/tools/clippy/clippy_lints/src/matches.rs