about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-07-27 15:06:49 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-07-31 21:27:59 +0300
commit73dae4eaf99c06f54b6cf642d18cc1bd3c30ead8 (patch)
treeae239433b4f12f1fbd6fb01a6a7f342fd8cfba0e /src/libstd
parent9152fe4ea053a29469691349f4b63aa94c9aac56 (diff)
downloadrust-73dae4eaf99c06f54b6cf642d18cc1bd3c30ead8.tar.gz
rust-73dae4eaf99c06f54b6cf642d18cc1bd3c30ead8.zip
Remove derives `Encodable`/`Decodable` and unstabilize attribute `#[bench]`
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/lib.rs3
-rw-r--r--src/libstd/prelude/v1.rs2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 8fd76eabe39..cfee49a7b55 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -218,7 +218,7 @@
 // std may use features in a platform-specific way
 #![allow(unused_features)]
 
-#![cfg_attr(test, feature(print_internals, set_stdio, test, update_panic_count))]
+#![cfg_attr(test, feature(print_internals, set_stdio, update_panic_count))]
 #![cfg_attr(all(target_vendor = "fortanix", target_env = "sgx"),
             feature(slice_index_methods, decl_macro, coerce_unsized,
                     sgx_platform, ptr_wrapping_offset_from))]
@@ -304,6 +304,7 @@
 #![feature(stdsimd)]
 #![feature(stmt_expr_attributes)]
 #![feature(str_internals)]
+#![feature(test)]
 #![feature(thread_local)]
 #![feature(todo_macro)]
 #![feature(toowned_clone_into)]
diff --git a/src/libstd/prelude/v1.rs b/src/libstd/prelude/v1.rs
index 7b12d2ee6f0..1c61f21f7df 100644
--- a/src/libstd/prelude/v1.rs
+++ b/src/libstd/prelude/v1.rs
@@ -91,9 +91,7 @@ pub use core::prelude::v1::{
     Clone,
     Copy,
     Debug,
-    Decodable,
     Default,
-    Encodable,
     Eq,
     Hash,
     Ord,