Skip to content

Commit 847c7a8

Browse files
authored
Rollup merge of #40556 - cramertj:stabilize-pub-restricted, r=petrochenkov
Stabilize pub(restricted) Fix rust-lang/rust#32409
2 parents 1eedaaa + 2441d1d commit 847c7a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@
283283
#![feature(placement_in_syntax)]
284284
#![feature(placement_new_protocol)]
285285
#![feature(prelude_import)]
286-
#![feature(pub_restricted)]
287286
#![feature(rand)]
288287
#![feature(raw)]
289288
#![feature(repr_simd)]
@@ -309,6 +308,7 @@
309308
#![feature(vec_push_all)]
310309
#![feature(zero_one)]
311310
#![cfg_attr(test, feature(update_panic_count))]
311+
#![cfg_attr(stage0, feature(pub_restricted))]
312312

313313
// Explicitly import the prelude. The compiler uses this same unstable attribute
314314
// to import the prelude implicitly when building crates that depend on std.

0 commit comments

Comments
 (0)