File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 207
207
//
208
208
// Rustdoc features:
209
209
#![ feature( doc_cfg) ]
210
- #![ feature( doc_cfg_hide) ]
210
+ #![ cfg_attr ( bootstrap , feature( doc_cfg_hide) ) ]
211
211
// Technically, this is a bug in rustdoc: rustdoc sees the documentation on `#[lang = slice_alloc]`
212
212
// blocks is for `&[T]`, which also has documentation using this feature in `core`, and gets mad
213
213
// that the feature-gate isn't enabled. Ideally, it wouldn't check for the feature gate for docs
Original file line number Diff line number Diff line change 161
161
//
162
162
// Language features:
163
163
// tidy-alphabetical-start
164
+ #![ cfg_attr( bootstrap, feature( doc_cfg_hide) ) ]
164
165
#![ feature( abi_unadjusted) ]
165
166
#![ feature( adt_const_params) ]
166
167
#![ feature( allow_internal_unsafe) ]
176
177
#![ feature( deprecated_suggestion) ]
177
178
#![ feature( derive_const) ]
178
179
#![ feature( doc_cfg) ]
179
- #![ feature( doc_cfg_hide) ]
180
180
#![ feature( doc_notable_trait) ]
181
181
#![ feature( extern_types) ]
182
182
#![ feature( f16) ]
Original file line number Diff line number Diff line change 278
278
// tidy-alphabetical-start
279
279
280
280
// stabilization was reverted after it hit beta
281
+ #![ cfg_attr( bootstrap, feature( doc_cfg_hide) ) ]
282
+ #![ cfg_attr( not( bootstrap) , feature( autodiff) ) ]
281
283
#![ feature( alloc_error_handler) ]
282
284
#![ feature( allocator_internals) ]
283
285
#![ feature( allow_internal_unsafe) ]
293
295
#![ feature( decl_macro) ]
294
296
#![ feature( deprecated_suggestion) ]
295
297
#![ feature( doc_cfg) ]
296
- #![ feature( doc_cfg_hide) ]
297
298
#![ feature( doc_masked) ]
298
299
#![ feature( doc_notable_trait) ]
299
300
#![ feature( dropck_eyepatch) ]
You can’t perform that action at this time.
0 commit comments