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/liballoc | |
| 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/liballoc')
| -rw-r--r-- | src/liballoc/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index 702d7b70cd3..6399be98cd5 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -75,7 +75,7 @@ #![deny(missing_debug_implementations)] #![cfg_attr(test, allow(deprecated))] // rand -#![cfg_attr(not(test), feature(core_float))] +#![cfg_attr(all(not(test), stage0), feature(float_internals))] #![cfg_attr(not(test), feature(exact_size_is_empty))] #![cfg_attr(not(test), feature(generator_trait))] #![cfg_attr(test, feature(rand, test))] |
