diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-03-20 23:44:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-20 23:44:59 -0400 |
| commit | 17656ab328b641605f671a8a1ae1cc2de0638bfb (patch) | |
| tree | 9539dfd97f4d2ea81d62e9e2633669bdb445cd56 /src/libstd/lib.rs | |
| parent | 03235ccbfeca05f03588827a186465170fc9aad8 (diff) | |
| parent | 60c1c961c73cd347e389d7961a7ba82396103029 (diff) | |
| download | rust-17656ab328b641605f671a8a1ae1cc2de0638bfb.tar.gz rust-17656ab328b641605f671a8a1ae1cc2de0638bfb.zip | |
Rollup merge of #40556 - cramertj:stabilize-pub-restricted, r=petrochenkov
Stabilize pub(restricted) Fix https://github.com/rust-lang/rust/issues/32409
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 3da5d4b94dd..064144dcd68 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -283,7 +283,6 @@ #![feature(placement_in_syntax)] #![feature(placement_new_protocol)] #![feature(prelude_import)] -#![feature(pub_restricted)] #![feature(rand)] #![feature(raw)] #![feature(repr_simd)] @@ -309,6 +308,7 @@ #![feature(vec_push_all)] #![feature(zero_one)] #![cfg_attr(test, feature(update_panic_count))] +#![cfg_attr(stage0, feature(pub_restricted))] // Explicitly import the prelude. The compiler uses this same unstable attribute // to import the prelude implicitly when building crates that depend on std. |
