about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-02-10 14:52:57 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-02-10 18:15:11 +1100
commita2479a4ae75884953eb9eaad083105174549c2ed (patch)
treeb5782561bf26bf14aaa582399e9ccb7a750ac52d /compiler/rustc_errors/src
parent7b73e4fd44c86405307afa5f1a03317bc560f746 (diff)
downloadrust-a2479a4ae75884953eb9eaad083105174549c2ed.tar.gz
rust-a2479a4ae75884953eb9eaad083105174549c2ed.zip
Remove unnecessary `min_specialization` after bootstrap
These crates all needed specialization for `newtype_index!`, which will no
longer be necessary when the current nightly eventually becomes the next
bootstrap compiler.
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index 7216fa8f5e4..ab3ad0e9d68 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -7,6 +7,7 @@
 #![allow(internal_features)]
 #![allow(rustc::diagnostic_outside_of_impl)]
 #![allow(rustc::untranslatable_diagnostic)]
+#![cfg_attr(bootstrap, feature(min_specialization))]
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
 #![doc(rust_logo)]
 #![feature(array_windows)]
@@ -16,7 +17,6 @@
 #![feature(error_reporter)]
 #![feature(extract_if)]
 #![feature(let_chains)]
-#![feature(min_specialization)]
 #![feature(negative_impls)]
 #![feature(never_type)]
 #![feature(rustc_attrs)]