Skip to content

Commit ac805d4

Browse files
authored
Remove "Known problems" section for borrow_interior_mutable_const (rust-lang#14078)
Remove "Known problems" section for `borrow_interior_mutable_const` since issue were fixed some time ago - rust-lang#6110, rust-lang#5812 changelog: none
2 parents c26985b + ba78c22 commit ac805d4

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

clippy_lints/src/non_copy_const.rs

-10
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,6 @@ declare_clippy_lint! {
8989
///
9090
/// The `const` value should be stored inside a `static` item.
9191
///
92-
/// ### Known problems
93-
/// When an enum has variants with interior mutability, use of its non
94-
/// interior mutable variants can generate false positives. See issue
95-
/// [#3962](https://github.com/rust-lang/rust-clippy/issues/3962)
96-
///
97-
/// Types that have underlying or potential interior mutability trigger the lint whether
98-
/// the interior mutable field is used or not. See issues
99-
/// [#5812](https://github.com/rust-lang/rust-clippy/issues/5812) and
100-
/// [#3825](https://github.com/rust-lang/rust-clippy/issues/3825)
101-
///
10292
/// ### Example
10393
/// ```no_run
10494
/// use std::sync::atomic::{AtomicUsize, Ordering::SeqCst};

0 commit comments

Comments
 (0)