From 998753c6f7a47cfa4072c73d5166d85d55d1187a Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sun, 29 Aug 2021 19:42:41 +0200 Subject: [PATCH] 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. --- compiler/rustc_index/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]