diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2018-04-12 08:36:31 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2018-04-21 09:47:38 +0200 |
| commit | 70fdd1b5c0f6a0673fcf924b3d8880af034bdee0 (patch) | |
| tree | 424c8534abbff8f858c055bfc39cf2a6d80e040e /src/libstd | |
| parent | 18ab16b5104403ef7a55a2d241c566e35c5ae57a (diff) | |
| download | rust-70fdd1b5c0f6a0673fcf924b3d8880af034bdee0.tar.gz rust-70fdd1b5c0f6a0673fcf924b3d8880af034bdee0.zip | |
Make the unstable StrExt and SliceExt traits private to libcore in not(stage0)
`Float` still needs to be public for libcore unit tests.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 7d896695311..3b98abb9293 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -252,7 +252,7 @@ #![feature(collections_range)] #![feature(compiler_builtins_lib)] #![feature(const_fn)] -#![feature(core_float)] +#![cfg_attr(stage0, feature(core_float))] #![feature(core_intrinsics)] #![feature(dropck_eyepatch)] #![feature(exact_size_is_empty)] @@ -260,6 +260,7 @@ #![feature(fs_read_write)] #![feature(fixed_size_array)] #![feature(float_from_str_radix)] +#![cfg_attr(stage0, feature(float_internals))] #![feature(fn_traits)] #![feature(fnbox)] #![cfg_attr(stage0, feature(generic_param_attrs))] |
