File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757//! [`Cell`]: core::cell
5858//! [`Rc`]: rc
5959//! [`RefCell`]: core::cell
60+ #![ feature( doc_cfg_hide) ]
6061
6162// To run alloc tests without x.py without ending up with two copies of alloc, Miri needs to be
6263// able to "empty" this crate. See <https://github.com/rust-lang/miri-test-libstd/issues/4>.
113114#![ feature( cfg_version) ]
114115#![ feature( coerce_unsized) ]
115116#![ feature( const_align_of_val) ]
116- #![ feature( const_box) ]
117+ #![ cfg_attr ( not ( version ( "1.73" ) ) , feature( const_box) ) ]
117118#![ cfg_attr( not( no_borrow) , feature( const_cow_is_borrowed) ) ]
118119#![ feature( const_eval_select) ]
119120#![ feature( const_maybe_uninit_as_mut_ptr) ]
205206//
206207// Rustdoc features:
207208#![ feature( doc_cfg) ]
208- #![ feature( doc_cfg_hide) ]
209209// Technically, this is a bug in rustdoc: rustdoc sees the documentation on `#[lang = slice_alloc]`
210210// blocks is for `&[T]`, which also has documentation using this feature in `core`, and gets mad
211211// that the feature-gate isn't enabled. Ideally, it wouldn't check for the feature gate for docs
You can’t perform that action at this time.
0 commit comments