about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorSantiago Pastorino <spastorino@gmail.com>2021-07-27 09:14:21 -0300
committerSantiago Pastorino <spastorino@gmail.com>2021-07-27 12:27:08 -0300
commit5bff8429a0655320c1aef0c16fb0fd2ec0184a9a (patch)
tree9dc6eeb1f8e3fab7c60ae668a2e4f2e1d85e0f40 /compiler/rustc_data_structures/src
parentcfc856acf3112d241bd4de55ec91df5aef66c352 (diff)
downloadrust-5bff8429a0655320c1aef0c16fb0fd2ec0184a9a.tar.gz
rust-5bff8429a0655320c1aef0c16fb0fd2ec0184a9a.zip
Use type_alias_impl_trait instead of min in compiler and lib
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/lib.rs b/compiler/rustc_data_structures/src/lib.rs
index 041d52aa20a..18bc2f896f2 100644
--- a/compiler/rustc_data_structures/src/lib.rs
+++ b/compiler/rustc_data_structures/src/lib.rs
@@ -21,7 +21,8 @@
 #![feature(iter_map_while)]
 #![feature(maybe_uninit_uninit_array)]
 #![feature(min_specialization)]
-#![feature(min_type_alias_impl_trait)]
+#![cfg_attr(bootstrap, feature(min_type_alias_impl_trait))]
+#![cfg_attr(not(bootstrap), feature(type_alias_impl_trait))]
 #![feature(new_uninit)]
 #![feature(nll)]
 #![feature(once_cell)]