From a456300af569750232afc0e98da28c4786fce19b Mon Sep 17 00:00:00 2001
From: Peter Jaszkowiak
Date: Tue, 20 Feb 2024 20:55:13 -0700
Subject: [PATCH] Stabilize `LazyCell` and `LazyLock` (`lazy_cell`)
---
clippy_dev/src/lib.rs | 1 -
src/driver.rs | 1 -
tests/compile-test.rs | 1 -
tests/dogfood.rs | 1 -
tests/lint_message_convention.rs | 1 -
tests/workspace.rs | 2 --
6 files changed, 7 deletions(-)
diff --git a/clippy_dev/src/lib.rs b/clippy_dev/src/lib.rs
index 385191e0361..3aa43dbe23e 100644
--- a/clippy_dev/src/lib.rs
+++ b/clippy_dev/src/lib.rs
@@ -1,4 +1,3 @@
-#![feature(lazy_cell)]
#![feature(let_chains)]
#![feature(rustc_private)]
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
diff --git a/src/driver.rs b/src/driver.rs
index 9e42abbc9aa..f79da26964f 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -2,7 +2,6 @@
#![allow(rustc::untranslatable_diagnostic)]
#![feature(rustc_private)]
#![feature(let_chains)]
-#![feature(lazy_cell)]
#![feature(lint_reasons)]
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
// warn on lints, that are included in `rust-lang/rust`s bootstrap
diff --git a/tests/compile-test.rs b/tests/compile-test.rs
index b06a11702ec..333a2ab5857 100644
--- a/tests/compile-test.rs
+++ b/tests/compile-test.rs
@@ -1,4 +1,3 @@
-#![feature(lazy_cell)]
#![feature(is_sorted)]
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
#![warn(rust_2018_idioms, unused_lifetimes)]
diff --git a/tests/dogfood.rs b/tests/dogfood.rs
index 3f16c180ea7..36a7a651c4d 100644
--- a/tests/dogfood.rs
+++ b/tests/dogfood.rs
@@ -3,7 +3,6 @@
//!
//! See [Eating your own dog food](https://en.wikipedia.org/wiki/Eating_your_own_dog_food) for context
-#![feature(lazy_cell)]
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
#![warn(rust_2018_idioms, unused_lifetimes)]
diff --git a/tests/lint_message_convention.rs b/tests/lint_message_convention.rs
index 98019c75527..6ce7e44474d 100644
--- a/tests/lint_message_convention.rs
+++ b/tests/lint_message_convention.rs
@@ -1,4 +1,3 @@
-#![feature(lazy_cell)]
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
#![warn(rust_2018_idioms, unused_lifetimes)]
diff --git a/tests/workspace.rs b/tests/workspace.rs
index 699ab2be199..19ccc7ae960 100644
--- a/tests/workspace.rs
+++ b/tests/workspace.rs
@@ -1,5 +1,3 @@
-#![feature(lazy_cell)]
-
use std::path::PathBuf;
use std::process::Command;
use test_utils::{CARGO_CLIPPY_PATH, IS_RUSTC_TEST_SUITE};