switch allow_internal_unstable const fns to rustc_allow_const_fn_unstable
This commit is contained in:
@@ -130,7 +130,8 @@ impl RawWakerVTable {
|
||||
#[rustc_promotable]
|
||||
#[stable(feature = "futures_api", since = "1.36.0")]
|
||||
#[rustc_const_stable(feature = "futures_api", since = "1.36.0")]
|
||||
#[allow_internal_unstable(const_fn_fn_ptr_basics)]
|
||||
#[cfg_attr(not(bootstrap), rustc_allow_const_fn_unstable(const_fn_fn_ptr_basics))]
|
||||
#[cfg_attr(bootstrap, allow_internal_unstable(const_fn_fn_ptr_basics))]
|
||||
pub const fn new(
|
||||
clone: unsafe fn(*const ()) -> RawWaker,
|
||||
wake: unsafe fn(*const ()),
|
||||
|
||||
Reference in New Issue
Block a user