diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2025-01-27 05:14:57 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-27 05:14:57 +0000 |
| commit | ac805d4a4e5cdafd74bb3457224813329309a644 (patch) | |
| tree | d4bb93abda20e60d150388394582cdaada6e3801 | |
| parent | c26985ba808f8894631490edc687078a3f2f09e0 (diff) | |
| parent | ba78c227dc949633ef8cb96566acf1232db25074 (diff) | |
| download | rust-ac805d4a4e5cdafd74bb3457224813329309a644.tar.gz rust-ac805d4a4e5cdafd74bb3457224813329309a644.zip | |
Remove "Known problems" section for `borrow_interior_mutable_const` (#14078)
Remove "Known problems" section for `borrow_interior_mutable_const` since issue were fixed some time ago - #6110, #5812 changelog: none
| -rw-r--r-- | clippy_lints/src/non_copy_const.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/clippy_lints/src/non_copy_const.rs b/clippy_lints/src/non_copy_const.rs index 8409d179b0f..147654675ec 100644 --- a/clippy_lints/src/non_copy_const.rs +++ b/clippy_lints/src/non_copy_const.rs @@ -89,16 +89,6 @@ declare_clippy_lint! { /// /// The `const` value should be stored inside a `static` item. /// - /// ### Known problems - /// When an enum has variants with interior mutability, use of its non - /// interior mutable variants can generate false positives. See issue - /// [#3962](https://github.com/rust-lang/rust-clippy/issues/3962) - /// - /// Types that have underlying or potential interior mutability trigger the lint whether - /// the interior mutable field is used or not. See issues - /// [#5812](https://github.com/rust-lang/rust-clippy/issues/5812) and - /// [#3825](https://github.com/rust-lang/rust-clippy/issues/3825) - /// /// ### Example /// ```no_run /// use std::sync::atomic::{AtomicUsize, Ordering::SeqCst}; |
