about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-08-29 19:42:41 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-10-02 19:09:29 +0200
commit998753c6f7a47cfa4072c73d5166d85d55d1187a (patch)
tree20df1a25b2dc7dcaf01e731c750841a947e9c223
parent83ddedf17086cb7f091efe4bf5fdc9a137bea3ff (diff)
downloadrust-998753c6f7a47cfa4072c73d5166d85d55d1187a.tar.gz
rust-998753c6f7a47cfa4072c73d5166d85d55d1187a.zip
Swap out unboxed_closures feature gate for min_specialization
For some reason unboxed_closures supresses the feature gate for
min_specialization when implementing TrustedStep. min_specialization is
the true feature that is used.
-rw-r--r--compiler/rustc_index/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_index/src/lib.rs b/compiler/rustc_index/src/lib.rs
index 0093fa5e562..f18f322b222 100644
--- a/compiler/rustc_index/src/lib.rs
+++ b/compiler/rustc_index/src/lib.rs
@@ -2,7 +2,7 @@
 #![feature(bench_black_box)]
 #![feature(extend_one)]
 #![feature(iter_zip)]
-#![feature(unboxed_closures)]
+#![feature(min_specialization)]
 #![feature(test)]
 #![feature(fn_traits)]