diff options
| author | bors <bors@rust-lang.org> | 2021-03-17 19:39:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-17 19:39:03 +0000 |
| commit | b62694b08fa4068248bf4656adcde39b86cfd815 (patch) | |
| tree | 7c01e61ca29f9d60dbaa6837eaac753d6f133b2d | |
| parent | 56138ad789c30efb053a909af94893fc7452fd39 (diff) | |
| parent | 7406c12885b9ecc55755178e79eedd065a46229f (diff) | |
| download | rust-b62694b08fa4068248bf4656adcde39b86cfd815.tar.gz rust-b62694b08fa4068248bf4656adcde39b86cfd815.zip | |
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.
| -rw-r--r-- | clippy_lints/src/matches.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/matches.rs b/clippy_lints/src/matches.rs index 1d5a6e7fcc5..8570cd724b2 100644 --- a/clippy_lints/src/matches.rs +++ b/clippy_lints/src/matches.rs @@ -27,7 +27,7 @@ use rustc_span::source_map::{Span, Spanned}; use rustc_span::sym; use std::cmp::Ordering; use std::collections::hash_map::Entry; -use std::collections::Bound; +use std::ops::Bound; declare_clippy_lint! { /// **What it does:** Checks for matches with a single arm where an `if let` |
