]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.

1  2 
library/core/src/intrinsics.rs
src/tools/clippy/clippy_lints/src/matches.rs

Simple merge