Set version placeholders to 1.68
This commit is contained in:
parent
9467f95531
commit
3653254f91
@ -49,7 +49,7 @@ macro_rules! declare_features {
|
|||||||
/// Allows `#[target_feature(...)]` on aarch64 platforms
|
/// Allows `#[target_feature(...)]` on aarch64 platforms
|
||||||
(accepted, aarch64_target_feature, "1.61.0", Some(44839), None),
|
(accepted, aarch64_target_feature, "1.61.0", Some(44839), None),
|
||||||
/// Allows using the `efiapi` ABI.
|
/// Allows using the `efiapi` ABI.
|
||||||
(accepted, abi_efiapi, "CURRENT_RUSTC_VERSION", Some(65815), None),
|
(accepted, abi_efiapi, "1.68.0", Some(65815), None),
|
||||||
/// Allows the sysV64 ABI to be specified on all platforms
|
/// Allows the sysV64 ABI to be specified on all platforms
|
||||||
/// instead of just the platforms on which it is the C ABI.
|
/// instead of just the platforms on which it is the C ABI.
|
||||||
(accepted, abi_sysv64, "1.24.0", Some(36167), None),
|
(accepted, abi_sysv64, "1.24.0", Some(36167), None),
|
||||||
@ -129,7 +129,7 @@ macro_rules! declare_features {
|
|||||||
/// Allows `crate` in paths.
|
/// Allows `crate` in paths.
|
||||||
(accepted, crate_in_paths, "1.30.0", Some(45477), None),
|
(accepted, crate_in_paths, "1.30.0", Some(45477), None),
|
||||||
/// Allows rustc to inject a default alloc_error_handler
|
/// Allows rustc to inject a default alloc_error_handler
|
||||||
(accepted, default_alloc_error_handler, "CURRENT_RUSTC_VERSION", Some(66741), None),
|
(accepted, default_alloc_error_handler, "1.68.0", Some(66741), None),
|
||||||
/// Allows using assigning a default type to type parameters in algebraic data type definitions.
|
/// Allows using assigning a default type to type parameters in algebraic data type definitions.
|
||||||
(accepted, default_type_params, "1.0.0", None, None),
|
(accepted, default_type_params, "1.0.0", None, None),
|
||||||
/// Allows `#[deprecated]` attribute.
|
/// Allows `#[deprecated]` attribute.
|
||||||
@ -164,7 +164,7 @@ macro_rules! declare_features {
|
|||||||
/// Allows access to crate names passed via `--extern` through prelude.
|
/// Allows access to crate names passed via `--extern` through prelude.
|
||||||
(accepted, extern_prelude, "1.30.0", Some(44660), None),
|
(accepted, extern_prelude, "1.30.0", Some(44660), None),
|
||||||
/// Allows using F16C intrinsics from `core::arch::{x86, x86_64}`.
|
/// Allows using F16C intrinsics from `core::arch::{x86, x86_64}`.
|
||||||
(accepted, f16c_target_feature, "CURRENT_RUSTC_VERSION", Some(44839), None),
|
(accepted, f16c_target_feature, "1.68.0", Some(44839), None),
|
||||||
/// Allows field shorthands (`x` meaning `x: x`) in struct literal expressions.
|
/// Allows field shorthands (`x` meaning `x: x`) in struct literal expressions.
|
||||||
(accepted, field_init_shorthand, "1.17.0", Some(37340), None),
|
(accepted, field_init_shorthand, "1.17.0", Some(37340), None),
|
||||||
/// Allows `#[must_use]` on functions, and introduces must-use operators (RFC 1940).
|
/// Allows `#[must_use]` on functions, and introduces must-use operators (RFC 1940).
|
||||||
|
@ -340,7 +340,7 @@ pub fn set(&self, features: &mut Features, span: Span) {
|
|||||||
/// Allows `async {}` expressions in const contexts.
|
/// Allows `async {}` expressions in const contexts.
|
||||||
(active, const_async_blocks, "1.53.0", Some(85368), None),
|
(active, const_async_blocks, "1.53.0", Some(85368), None),
|
||||||
/// Allows `const || {}` closures in const contexts.
|
/// Allows `const || {}` closures in const contexts.
|
||||||
(incomplete, const_closures, "CURRENT_RUSTC_VERSION", Some(106003), None),
|
(incomplete, const_closures, "1.68.0", Some(106003), None),
|
||||||
/// Allows limiting the evaluation steps of const expressions
|
/// Allows limiting the evaluation steps of const expressions
|
||||||
(active, const_eval_limit, "1.43.0", Some(67217), None),
|
(active, const_eval_limit, "1.43.0", Some(67217), None),
|
||||||
/// Allows the definition of `const extern fn` and `const unsafe extern fn`.
|
/// Allows the definition of `const extern fn` and `const unsafe extern fn`.
|
||||||
|
@ -537,7 +537,7 @@ impl<T> VecDeque<T> {
|
|||||||
/// ```
|
/// ```
|
||||||
#[inline]
|
#[inline]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
#[rustc_const_stable(feature = "const_vec_deque_new", since = "CURRENT_RUSTC_VERSION")]
|
#[rustc_const_stable(feature = "const_vec_deque_new", since = "1.68.0")]
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub const fn new() -> VecDeque<T> {
|
pub const fn new() -> VecDeque<T> {
|
||||||
// FIXME: This should just be `VecDeque::new_in(Global)` once that hits stable.
|
// FIXME: This should just be `VecDeque::new_in(Global)` once that hits stable.
|
||||||
|
@ -2549,7 +2549,7 @@ fn to_string(&self) -> String {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(no_global_oom_handling))]
|
#[cfg(not(no_global_oom_handling))]
|
||||||
#[stable(feature = "bool_to_string_specialization", since = "CURRENT_RUSTC_VERSION")]
|
#[stable(feature = "bool_to_string_specialization", since = "1.68.0")]
|
||||||
impl ToString for bool {
|
impl ToString for bool {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn to_string(&self) -> String {
|
fn to_string(&self) -> String {
|
||||||
|
@ -169,7 +169,7 @@ macro_rules! impl_from_bool {
|
|||||||
impl_from! { f32, f64, #[stable(feature = "lossless_float_conv", since = "1.6.0")] }
|
impl_from! { f32, f64, #[stable(feature = "lossless_float_conv", since = "1.6.0")] }
|
||||||
|
|
||||||
// bool -> Float
|
// bool -> Float
|
||||||
#[stable(feature = "float_from_bool", since = "CURRENT_RUSTC_VERSION")]
|
#[stable(feature = "float_from_bool", since = "1.68.0")]
|
||||||
#[rustc_const_unstable(feature = "const_num_from_num", issue = "87852")]
|
#[rustc_const_unstable(feature = "const_num_from_num", issue = "87852")]
|
||||||
impl const From<bool> for f32 {
|
impl const From<bool> for f32 {
|
||||||
/// Converts `bool` to `f32` losslessly.
|
/// Converts `bool` to `f32` losslessly.
|
||||||
@ -178,7 +178,7 @@ fn from(small: bool) -> Self {
|
|||||||
small as u8 as Self
|
small as u8 as Self
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#[stable(feature = "float_from_bool", since = "CURRENT_RUSTC_VERSION")]
|
#[stable(feature = "float_from_bool", since = "1.68.0")]
|
||||||
#[rustc_const_unstable(feature = "const_num_from_num", issue = "87852")]
|
#[rustc_const_unstable(feature = "const_num_from_num", issue = "87852")]
|
||||||
impl const From<bool> for f64 {
|
impl const From<bool> for f64 {
|
||||||
/// Converts `bool` to `f64` losslessly.
|
/// Converts `bool` to `f64` losslessly.
|
||||||
|
@ -73,7 +73,7 @@ pub struct OnceWith<F> {
|
|||||||
gen: Option<F>,
|
gen: Option<F>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[stable(feature = "iter_once_with_debug", since = "CURRENT_RUSTC_VERSION")]
|
#[stable(feature = "iter_once_with_debug", since = "1.68.0")]
|
||||||
impl<F> fmt::Debug for OnceWith<F> {
|
impl<F> fmt::Debug for OnceWith<F> {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
if self.gen.is_some() {
|
if self.gen.is_some() {
|
||||||
|
@ -78,7 +78,7 @@ pub struct RepeatWith<F> {
|
|||||||
repeater: F,
|
repeater: F,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[stable(feature = "iterator_repeat_with_debug", since = "CURRENT_RUSTC_VERSION")]
|
#[stable(feature = "iterator_repeat_with_debug", since = "1.68.0")]
|
||||||
impl<F> fmt::Debug for RepeatWith<F> {
|
impl<F> fmt::Debug for RepeatWith<F> {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
f.debug_struct("RepeatWith").finish_non_exhaustive()
|
f.debug_struct("RepeatWith").finish_non_exhaustive()
|
||||||
|
@ -1164,7 +1164,7 @@ impl<P, U> DispatchFromDyn<Pin<U>> for Pin<P> where P: DispatchFromDyn<U> {}
|
|||||||
/// constructor.
|
/// constructor.
|
||||||
///
|
///
|
||||||
/// [`Box::pin`]: ../../std/boxed/struct.Box.html#method.pin
|
/// [`Box::pin`]: ../../std/boxed/struct.Box.html#method.pin
|
||||||
#[stable(feature = "pin_macro", since = "CURRENT_RUSTC_VERSION")]
|
#[stable(feature = "pin_macro", since = "1.68.0")]
|
||||||
#[rustc_macro_transparency = "semitransparent"]
|
#[rustc_macro_transparency = "semitransparent"]
|
||||||
#[allow_internal_unstable(unsafe_pin_internals)]
|
#[allow_internal_unstable(unsafe_pin_internals)]
|
||||||
pub macro pin($value:expr $(,)?) {
|
pub macro pin($value:expr $(,)?) {
|
||||||
|
@ -271,7 +271,7 @@ pub fn is_separator(c: char) -> bool {
|
|||||||
/// The primary separator of path components for the current platform.
|
/// The primary separator of path components for the current platform.
|
||||||
///
|
///
|
||||||
/// For example, `/` on Unix and `\` on Windows.
|
/// For example, `/` on Unix and `\` on Windows.
|
||||||
#[stable(feature = "main_separator_str", since = "CURRENT_RUSTC_VERSION")]
|
#[stable(feature = "main_separator_str", since = "1.68.0")]
|
||||||
pub const MAIN_SEPARATOR_STR: &str = crate::sys::path::MAIN_SEP_STR;
|
pub const MAIN_SEPARATOR_STR: &str = crate::sys::path::MAIN_SEP_STR;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
@ -1778,7 +1778,7 @@ fn deref(&self) -> &Path {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[stable(feature = "path_buf_deref_mut", since = "CURRENT_RUSTC_VERSION")]
|
#[stable(feature = "path_buf_deref_mut", since = "1.68.0")]
|
||||||
impl ops::DerefMut for PathBuf {
|
impl ops::DerefMut for PathBuf {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn deref_mut(&mut self) -> &mut Path {
|
fn deref_mut(&mut self) -> &mut Path {
|
||||||
|
Loading…
Reference in New Issue
Block a user