Skip to content

Commit

Permalink
Auto merge of #11997 - TethysSvensson:uninhabited-references-pedantic…
Browse files Browse the repository at this point in the history
…, 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](#11997)
(Check if this has been backported)

Fixes #11984.
  • Loading branch information
bors committed Dec 23, 2023
2 parents 830f1c5 + 1576ecc commit 370615b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/uninhabited_references.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ declare_clippy_lint! {
/// ```
#[clippy::version = "1.76.0"]
pub UNINHABITED_REFERENCES,
suspicious,
nursery,
"reference to uninhabited type"
}

Expand Down

0 comments on commit 370615b

Please sign in to comment.