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>.
111112#![ feature( cfg_version) ]
112113#![ feature( coerce_unsized) ]
113114#![ feature( const_align_of_val) ]
114- #![ feature( const_box) ]
115+ #![ cfg_attr ( not ( version ( "1.73" ) ) , feature( const_box) ) ]
115116#![ cfg_attr( not( no_borrow) , feature( const_cow_is_borrowed) ) ]
116117#![ feature( const_eval_select) ]
117118#![ feature( const_maybe_uninit_as_mut_ptr) ]
204205//
205206// Rustdoc features:
206207#![ feature( doc_cfg) ]
207- #![ feature( doc_cfg_hide) ]
208208// Technically, this is a bug in rustdoc: rustdoc sees the documentation on `#[lang = slice_alloc]`
209209// blocks is for `&[T]`, which also has documentation using this feature in `core`, and gets mad
210210// 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