about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-03-08 22:24:10 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-04-05 02:19:56 +0300
commit1a2a23447e451faee7ffbffab2be8831f3098f6d (patch)
treee338e0d07dea5b0ca852969f34d16c55fa4978f9 /src/liballoc
parentfb44b4c0eb1d344f84f7bb2c90f28e31a8a180be (diff)
downloadrust-1a2a23447e451faee7ffbffab2be8831f3098f6d.tar.gz
rust-1a2a23447e451faee7ffbffab2be8831f3098f6d.zip
Stabilize attributes on generic parameters
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 2fad3b0bad4..cbbea6c19c8 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -97,7 +97,7 @@
 #![feature(fmt_internals)]
 #![feature(from_ref)]
 #![feature(fundamental)]
-#![feature(generic_param_attrs)]
+#![cfg_attr(stage0, feature(generic_param_attrs))]
 #![cfg_attr(stage0, feature(i128_type))]
 #![feature(iter_rfold)]
 #![feature(lang_items)]