about summary refs log tree commit diff
path: root/src/liballoc/lib.rs
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2020-04-19 12:34:00 +0100
committerMatthew Jasper <mjjasper1@gmail.com>2020-04-26 16:27:13 +0100
commitcb2703945ca3c6c9664a5a9ec606430cb79ba2c8 (patch)
treef3779f0c94126d9d406a0e59e8d7eb0d9ef0b763 /src/liballoc/lib.rs
parentec1f28f9614292c36b371d3758afffdd52cb9786 (diff)
downloadrust-cb2703945ca3c6c9664a5a9ec606430cb79ba2c8.tar.gz
rust-cb2703945ca3c6c9664a5a9ec606430cb79ba2c8.zip
Use min_specialization in liballoc
- Remove a type parameter from `[A]RcFromIter`.
- Remove an implementation of `[A]RcFromIter` that didn't actually
  specialize anything.
- Remove unused implementation of `IsZero` for `Option<&mut T>`.
- Change specializations of `[A]RcEqIdent` to use a marker trait version
of `Eq`.
- Remove `BTreeClone`. I couldn't find a way to make this work with
  `min_specialization`.
- Add `rustc_unsafe_specialization_marker` to `Copy` and `TrustedLen`.
Diffstat (limited to 'src/liballoc/lib.rs')
-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 ecec1fb039b..3ebb5662350 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -108,7 +108,7 @@
 #![feature(ptr_offset_from)]
 #![feature(rustc_attrs)]
 #![feature(receiver_trait)]
-#![feature(specialization)]
+#![feature(min_specialization)]
 #![feature(staged_api)]
 #![feature(std_internals)]
 #![feature(str_internals)]