about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-25 07:19:07 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-11-06 07:34:51 +0100
commit1c7595fd0f509637e8da61e3bac425e4f3fd69fa (patch)
tree34326c1a796ae230ed054add7f215cb48b84d6aa /src/liballoc
parente4931eaaa3d95189b30e90d3af9f0db17c41bbb0 (diff)
downloadrust-1c7595fd0f509637e8da61e3bac425e4f3fd69fa.tar.gz
rust-1c7595fd0f509637e8da61e3bac425e4f3fd69fa.zip
gate rustc_on_unimplemented under rustc_attrs
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 94379afc2bd..ddfa6797a57 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -116,7 +116,7 @@
 #![feature(unsize)]
 #![feature(unsized_locals)]
 #![feature(allocator_internals)]
-#![feature(on_unimplemented)]
+#![cfg_attr(bootstrap, feature(on_unimplemented))]
 #![feature(rustc_const_unstable)]
 #![feature(slice_partition_dedup)]
 #![feature(maybe_uninit_extra, maybe_uninit_slice)]