diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2021-07-27 09:14:21 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2021-07-27 12:27:08 -0300 |
| commit | 5bff8429a0655320c1aef0c16fb0fd2ec0184a9a (patch) | |
| tree | 9dc6eeb1f8e3fab7c60ae668a2e4f2e1d85e0f40 /compiler/rustc_data_structures/src | |
| parent | cfc856acf3112d241bd4de55ec91df5aef66c352 (diff) | |
| download | rust-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.rs | 3 |
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)] |
