diff options
| author | Sean McArthur <sean.monstar@gmail.com> | 2017-07-06 11:52:25 -0700 |
|---|---|---|
| committer | Sean McArthur <sean.monstar@gmail.com> | 2017-07-06 11:52:25 -0700 |
| commit | 74b2d693589add69cf03588ae0eb336c1be7d52b (patch) | |
| tree | ed50e4811d1305e4a2a444c033a037b9a3018b52 /src/libcore | |
| parent | ccf401f8f7847413ac43f38e3c86016becf67b07 (diff) | |
| download | rust-74b2d693589add69cf03588ae0eb336c1be7d52b.tar.gz rust-74b2d693589add69cf03588ae0eb336c1be7d52b.zip | |
remove associated_consts feature gate
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs index 97aaaffe8bc..e8e31ffea0b 100644 --- a/src/libcore/lib.rs +++ b/src/libcore/lib.rs @@ -70,7 +70,6 @@ #![feature(allow_internal_unstable)] #![feature(asm)] #![feature(associated_type_defaults)] -#![feature(associated_consts)] #![feature(cfg_target_feature)] #![feature(cfg_target_has_atomic)] #![feature(concat_idents)] @@ -94,6 +93,8 @@ #![feature(untagged_unions)] #![feature(unwind_attributes)] +#![cfg_attr(stage0, feature(associated_consts))] + #[prelude_import] #[allow(unused)] use prelude::v1::*; |
