about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-23 16:25:53 +0000
committerbors <bors@rust-lang.org>2023-12-23 16:25:53 +0000
commit370615bc78bab86524904ece2e2095ee59331b13 (patch)
tree9076eac64e5a708412c4dce62c42f7b084b0409d
parent830f1c58f4a1f93de617a1bc9edb5a2709141809 (diff)
parent1576ecce409062fcce415fc873e9a16bc8130122 (diff)
downloadrust-370615bc78bab86524904ece2e2095ee59331b13.tar.gz
rust-370615bc78bab86524904ece2e2095ee59331b13.zip
Auto merge of #11997 - TethysSvensson:uninhabited-references-pedantic, r=xFrednet
Move `uninhabited_references` to `nursery`

I think this lint has too many false positives and should be put in pedantic. See #11984 and #11985 for context.

The lint is already in beta and is causing trouble for us, so I would also like this PR to be backported to beta as well.

changelog: Moved [`uninhabited_references`] to `nursery` (Now allow-by-default)
[#11997](https://github.com/rust-lang/rust-clippy/pull/11997)
(Check if this has been backported)

Fixes #11984.
-rw-r--r--clippy_lints/src/uninhabited_references.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/uninhabited_references.rs b/clippy_lints/src/uninhabited_references.rs
index d41576cadad..903593ecfd7 100644
--- a/clippy_lints/src/uninhabited_references.rs
+++ b/clippy_lints/src/uninhabited_references.rs
@@ -32,7 +32,7 @@ declare_clippy_lint! {
     /// ```
     #[clippy::version = "1.76.0"]
     pub UNINHABITED_REFERENCES,
-    suspicious,
+    nursery,
     "reference to uninhabited type"
 }