|
82 | 82 | #![feature(const_refs_to_cell)] |
83 | 83 | #![feature(const_panic)] |
84 | 84 | #![feature(const_pin)] |
85 | | -#![cfg_attr(bootstrap, feature(const_fn))] |
86 | 85 | #![feature(const_fn_union)] |
87 | 86 | #![feature(const_impl_trait)] |
88 | 87 | #![feature(const_fn_floating_point_arithmetic)] |
89 | 88 | #![feature(const_fn_fn_ptr_basics)] |
90 | | -#![cfg_attr(not(bootstrap), feature(const_fn_trait_bound))] |
| 89 | +#![feature(const_fn_trait_bound)] |
| 90 | +#![cfg_attr(bootstrap, feature(const_fn))] |
91 | 91 | #![feature(const_option)] |
92 | 92 | #![feature(const_precise_live_drops)] |
93 | 93 | #![feature(const_ptr_offset)] |
|
110 | 110 | #![feature(custom_inner_attributes)] |
111 | 111 | #![feature(decl_macro)] |
112 | 112 | #![feature(doc_cfg)] |
113 | | -#![cfg_attr(bootstrap, feature(doc_spotlight))] |
114 | | -#![cfg_attr(not(bootstrap), feature(doc_notable_trait))] |
| 113 | +#![feature(doc_notable_trait)] |
115 | 114 | #![feature(duration_consts_2)] |
116 | 115 | #![cfg_attr(bootstrap, feature(extended_key_value_attributes))] |
117 | 116 | #![feature(extern_types)] |
|
127 | 126 | #![feature(exhaustive_patterns)] |
128 | 127 | #![feature(no_core)] |
129 | 128 | #![feature(auto_traits)] |
130 | | -#![cfg_attr(bootstrap, feature(or_patterns))] |
131 | 129 | #![feature(prelude_import)] |
132 | 130 | #![feature(ptr_metadata)] |
133 | 131 | #![feature(repr_simd, platform_intrinsics)] |
|
167 | 165 | #![feature(const_caller_location)] |
168 | 166 | #![feature(slice_ptr_get)] |
169 | 167 | #![feature(no_niche)] // rust-lang/rust#68303 |
170 | | -#![cfg_attr(not(bootstrap), feature(no_coverage))] // rust-lang/rust#84605 |
| 168 | +#![feature(no_coverage)] // rust-lang/rust#84605 |
171 | 169 | #![feature(int_error_matching)] |
172 | 170 | #![deny(unsafe_op_in_unsafe_fn)] |
173 | 171 |
|
@@ -304,8 +302,7 @@ pub mod primitive; |
304 | 302 | unused_imports, |
305 | 303 | unsafe_op_in_unsafe_fn |
306 | 304 | )] |
307 | | -#[cfg_attr(bootstrap, allow(rustdoc::non_autolinks))] |
308 | | -#[cfg_attr(not(bootstrap), allow(rustdoc::bare_urls))] |
| 305 | +#[allow(rustdoc::bare_urls)] |
309 | 306 | // FIXME: This annotation should be moved into rust-lang/stdarch after clashing_extern_declarations is |
310 | 307 | // merged. It currently cannot because bootstrap fails as the lint hasn't been defined yet. |
311 | 308 | #[allow(clashing_extern_declarations)] |
|
0 commit comments