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.
This commit is contained in:
bors 2023-12-23 16:25:53 +00:00
commit 370615bc78

View File

@ -32,7 +32,7 @@ declare_clippy_lint! {
/// ```
#[clippy::version = "1.76.0"]
pub UNINHABITED_REFERENCES,
suspicious,
nursery,
"reference to uninhabited type"
}