Skip to content

Commit 4cf5bdc

Browse files
committed
Stabilize a portion of 'once_cell'
Move items not part of this stabilization to 'lazy_cell' or 'once_cell_try'
1 parent d57abf3 commit 4cf5bdc

File tree

8 files changed

+5
-8
lines changed

8 files changed

+5
-8
lines changed

clippy_dev/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![feature(let_chains)]
2-
#![feature(once_cell)]
32
#![feature(rustc_private)]
43
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
54
// warn on lints, that are included in `rust-lang/rust`s bootstrap

clippy_lints/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#![feature(let_chains)]
88
#![feature(lint_reasons)]
99
#![feature(never_type)]
10-
#![feature(once_cell)]
1110
#![feature(rustc_private)]
1211
#![feature(stmt_expr_attributes)]
1312
#![recursion_limit = "512"]

clippy_utils/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#![feature(let_chains)]
44
#![feature(lint_reasons)]
55
#![feature(never_type)]
6-
#![feature(once_cell)]
76
#![feature(rustc_private)]
87
#![recursion_limit = "512"]
98
#![cfg_attr(feature = "deny-warnings", deny(warnings))]

src/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![feature(rustc_private)]
22
#![feature(let_chains)]
3-
#![feature(once_cell)]
3+
#![feature(lazy_cell)]
44
#![feature(lint_reasons)]
55
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
66
// warn on lints, that are included in `rust-lang/rust`s bootstrap

tests/compile-test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![feature(test)] // compiletest_rs requires this attribute
2-
#![feature(once_cell)]
2+
#![feature(lazy_cell)]
33
#![feature(is_sorted)]
44
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
55
#![warn(rust_2018_idioms, unused_lifetimes)]

tests/dogfood.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//!
44
//! See [Eating your own dog food](https://en.wikipedia.org/wiki/Eating_your_own_dog_food) for context
55
6-
#![feature(once_cell)]
6+
#![feature(lazy_cell)]
77
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
88
#![warn(rust_2018_idioms, unused_lifetimes)]
99

tests/lint_message_convention.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(once_cell)]
1+
#![feature(lazy_cell)]
22
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
33
#![warn(rust_2018_idioms, unused_lifetimes)]
44

tests/workspace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(once_cell)]
1+
#![feature(lazy_cell)]
22

33
use std::path::PathBuf;
44
use std::process::Command;

0 commit comments

Comments
 (0)