Skip to content

Commit 01d7af1

Browse files
Bump version placeholders
1 parent 992d154 commit 01d7af1

File tree

7 files changed

+24
-24
lines changed

7 files changed

+24
-24
lines changed

compiler/rustc_feature/src/accepted.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ declare_features! (
9191
/// Allows coercing non capturing closures to function pointers.
9292
(accepted, closure_to_fn_coercion, "1.19.0", Some(39817), None),
9393
/// Allows using the CMPXCHG16B target feature.
94-
(accepted, cmpxchg16b_target_feature, "CURRENT_RUSTC_VERSION", Some(44839), None),
94+
(accepted, cmpxchg16b_target_feature, "1.69.0", Some(44839), None),
9595
/// Allows usage of the `compile_error!` macro.
9696
(accepted, compile_error, "1.20.0", Some(40872), None),
9797
/// Allows `impl Trait` in function return types.

compiler/rustc_feature/src/active.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ declare_features! (
161161
/// Allows using `#[lang = ".."]` attribute for linking items to special compiler logic.
162162
(active, lang_items, "1.0.0", None, None),
163163
/// Allows the `multiple_supertrait_upcastable` lint.
164-
(active, multiple_supertrait_upcastable, "CURRENT_RUSTC_VERSION", None, None),
164+
(active, multiple_supertrait_upcastable, "1.69.0", None, None),
165165
/// Allows using `#[omit_gdb_pretty_printer_section]`.
166166
(active, omit_gdb_pretty_printer_section, "1.5.0", None, None),
167167
/// Allows using `#[prelude_import]` on glob `use` items.
@@ -214,7 +214,7 @@ declare_features! (
214214
/// Allows declaring with `#![needs_panic_runtime]` that a panic runtime is needed.
215215
(active, needs_panic_runtime, "1.10.0", Some(32837), None),
216216
/// Allows using `+bundled,+whole-archive` native libs.
217-
(active, packed_bundled_libs, "CURRENT_RUSTC_VERSION", Some(108081), None),
217+
(active, packed_bundled_libs, "1.69.0", Some(108081), None),
218218
/// Allows using the `#![panic_runtime]` attribute.
219219
(active, panic_runtime, "1.10.0", Some(32837), None),
220220
/// Allows using `#[rustc_allow_const_fn_unstable]`.
@@ -468,7 +468,7 @@ declare_features! (
468468
/// Allows using the `non_exhaustive_omitted_patterns` lint.
469469
(active, non_exhaustive_omitted_patterns_lint, "1.57.0", Some(89554), None),
470470
/// Allows `for<T>` binders in where-clauses
471-
(incomplete, non_lifetime_binders, "CURRENT_RUSTC_VERSION", Some(108185), None),
471+
(incomplete, non_lifetime_binders, "1.69.0", Some(108185), None),
472472
/// Allows making `dyn Trait` well-formed even if `Trait` is not object safe.
473473
/// In that case, `dyn Trait: Trait` does not hold. Moreover, coercions and
474474
/// casts in safe Rust to `dyn Trait` for such a `Trait` is also forbidden.

library/core/src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ impl Error for crate::char::CharTryFromError {
489489
#[stable(feature = "duration_checked_float", since = "1.66.0")]
490490
impl Error for crate::time::TryFromFloatSecsError {}
491491

492-
#[stable(feature = "cstr_from_bytes_until_nul", since = "CURRENT_RUSTC_VERSION")]
492+
#[stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")]
493493
impl Error for crate::ffi::FromBytesUntilNulError {}
494494

495495
#[unstable(feature = "get_many_mut", issue = "104642")]

library/core/src/ffi/c_str.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ impl Error for FromBytesWithNulError {
153153
/// This error is created by the [`CStr::from_bytes_until_nul`] method.
154154
///
155155
#[derive(Clone, PartialEq, Eq, Debug)]
156-
#[stable(feature = "cstr_from_bytes_until_nul", since = "CURRENT_RUSTC_VERSION")]
156+
#[stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")]
157157
pub struct FromBytesUntilNulError(());
158158

159-
#[stable(feature = "cstr_from_bytes_until_nul", since = "CURRENT_RUSTC_VERSION")]
159+
#[stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")]
160160
impl fmt::Display for FromBytesUntilNulError {
161161
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
162162
write!(f, "data provided does not contain a nul")
@@ -324,8 +324,8 @@ impl CStr {
324324
/// ```
325325
///
326326
#[rustc_allow_const_fn_unstable(const_slice_index)]
327-
#[stable(feature = "cstr_from_bytes_until_nul", since = "CURRENT_RUSTC_VERSION")]
328-
#[rustc_const_stable(feature = "cstr_from_bytes_until_nul", since = "CURRENT_RUSTC_VERSION")]
327+
#[stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")]
328+
#[rustc_const_stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")]
329329
pub const fn from_bytes_until_nul(bytes: &[u8]) -> Result<&CStr, FromBytesUntilNulError> {
330330
let nul_pos = memchr::memchr(0, bytes);
331331
match nul_pos {

library/core/src/net/socket_addr.rs

+13-13
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ impl SocketAddr {
121121
/// ```
122122
#[stable(feature = "ip_addr", since = "1.7.0")]
123123
#[must_use]
124-
#[rustc_const_stable(feature = "const_socketaddr", since = "CURRENT_RUSTC_VERSION")]
124+
#[rustc_const_stable(feature = "const_socketaddr", since = "1.69.0")]
125125
pub const fn new(ip: IpAddr, port: u16) -> SocketAddr {
126126
match ip {
127127
IpAddr::V4(a) => SocketAddr::V4(SocketAddrV4::new(a, port)),
@@ -141,7 +141,7 @@ impl SocketAddr {
141141
/// ```
142142
#[must_use]
143143
#[stable(feature = "ip_addr", since = "1.7.0")]
144-
#[rustc_const_stable(feature = "const_socketaddr", since = "CURRENT_RUSTC_VERSION")]
144+
#[rustc_const_stable(feature = "const_socketaddr", since = "1.69.0")]
145145
pub const fn ip(&self) -> IpAddr {
146146
match *self {
147147
SocketAddr::V4(ref a) => IpAddr::V4(*a.ip()),
@@ -182,7 +182,7 @@ impl SocketAddr {
182182
/// ```
183183
#[must_use]
184184
#[stable(feature = "rust1", since = "1.0.0")]
185-
#[rustc_const_stable(feature = "const_socketaddr", since = "CURRENT_RUSTC_VERSION")]
185+
#[rustc_const_stable(feature = "const_socketaddr", since = "1.69.0")]
186186
pub const fn port(&self) -> u16 {
187187
match *self {
188188
SocketAddr::V4(ref a) => a.port(),
@@ -226,7 +226,7 @@ impl SocketAddr {
226226
/// ```
227227
#[must_use]
228228
#[stable(feature = "sockaddr_checker", since = "1.16.0")]
229-
#[rustc_const_stable(feature = "const_socketaddr", since = "CURRENT_RUSTC_VERSION")]
229+
#[rustc_const_stable(feature = "const_socketaddr", since = "1.69.0")]
230230
pub const fn is_ipv4(&self) -> bool {
231231
matches!(*self, SocketAddr::V4(_))
232232
}
@@ -248,7 +248,7 @@ impl SocketAddr {
248248
/// ```
249249
#[must_use]
250250
#[stable(feature = "sockaddr_checker", since = "1.16.0")]
251-
#[rustc_const_stable(feature = "const_socketaddr", since = "CURRENT_RUSTC_VERSION")]
251+
#[rustc_const_stable(feature = "const_socketaddr", since = "1.69.0")]
252252
pub const fn is_ipv6(&self) -> bool {
253253
matches!(*self, SocketAddr::V6(_))
254254
}
@@ -268,7 +268,7 @@ impl SocketAddrV4 {
268268
/// ```
269269
#[stable(feature = "rust1", since = "1.0.0")]
270270
#[must_use]
271-
#[rustc_const_stable(feature = "const_socketaddr", since = "CURRENT_RUSTC_VERSION")]
271+
#[rustc_const_stable(feature = "const_socketaddr", since = "1.69.0")]
272272
pub const fn new(ip: Ipv4Addr, port: u16) -> SocketAddrV4 {
273273
SocketAddrV4 { ip, port }
274274
}
@@ -285,7 +285,7 @@ impl SocketAddrV4 {
285285
/// ```
286286
#[must_use]
287287
#[stable(feature = "rust1", since = "1.0.0")]
288-
#[rustc_const_stable(feature = "const_socketaddr", since = "CURRENT_RUSTC_VERSION")]
288+
#[rustc_const_stable(feature = "const_socketaddr", since = "1.69.0")]
289289
pub const fn ip(&self) -> &Ipv4Addr {
290290
&self.ip
291291
}
@@ -318,7 +318,7 @@ impl SocketAddrV4 {
318318
/// ```
319319
#[must_use]
320320
#[stable(feature = "rust1", since = "1.0.0")]
321-
#[rustc_const_stable(feature = "const_socketaddr", since = "CURRENT_RUSTC_VERSION")]
321+
#[rustc_const_stable(feature = "const_socketaddr", since = "1.69.0")]
322322
pub const fn port(&self) -> u16 {
323323
self.port
324324
}
@@ -359,7 +359,7 @@ impl SocketAddrV6 {
359359
/// ```
360360
#[stable(feature = "rust1", since = "1.0.0")]
361361
#[must_use]
362-
#[rustc_const_stable(feature = "const_socketaddr", since = "CURRENT_RUSTC_VERSION")]
362+
#[rustc_const_stable(feature = "const_socketaddr", since = "1.69.0")]
363363
pub const fn new(ip: Ipv6Addr, port: u16, flowinfo: u32, scope_id: u32) -> SocketAddrV6 {
364364
SocketAddrV6 { ip, port, flowinfo, scope_id }
365365
}
@@ -376,7 +376,7 @@ impl SocketAddrV6 {
376376
/// ```
377377
#[must_use]
378378
#[stable(feature = "rust1", since = "1.0.0")]
379-
#[rustc_const_stable(feature = "const_socketaddr", since = "CURRENT_RUSTC_VERSION")]
379+
#[rustc_const_stable(feature = "const_socketaddr", since = "1.69.0")]
380380
pub const fn ip(&self) -> &Ipv6Addr {
381381
&self.ip
382382
}
@@ -409,7 +409,7 @@ impl SocketAddrV6 {
409409
/// ```
410410
#[must_use]
411411
#[stable(feature = "rust1", since = "1.0.0")]
412-
#[rustc_const_stable(feature = "const_socketaddr", since = "CURRENT_RUSTC_VERSION")]
412+
#[rustc_const_stable(feature = "const_socketaddr", since = "1.69.0")]
413413
pub const fn port(&self) -> u16 {
414414
self.port
415415
}
@@ -452,7 +452,7 @@ impl SocketAddrV6 {
452452
/// ```
453453
#[must_use]
454454
#[stable(feature = "rust1", since = "1.0.0")]
455-
#[rustc_const_stable(feature = "const_socketaddr", since = "CURRENT_RUSTC_VERSION")]
455+
#[rustc_const_stable(feature = "const_socketaddr", since = "1.69.0")]
456456
pub const fn flowinfo(&self) -> u32 {
457457
self.flowinfo
458458
}
@@ -492,7 +492,7 @@ impl SocketAddrV6 {
492492
/// ```
493493
#[must_use]
494494
#[stable(feature = "rust1", since = "1.0.0")]
495-
#[rustc_const_stable(feature = "const_socketaddr", since = "CURRENT_RUSTC_VERSION")]
495+
#[rustc_const_stable(feature = "const_socketaddr", since = "1.69.0")]
496496
pub const fn scope_id(&self) -> u32 {
497497
self.scope_id
498498
}

library/std/src/os/fd/owned.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ impl<T: AsFd> AsFd for crate::sync::Arc<T> {
399399
}
400400
}
401401

402-
#[stable(feature = "asfd_rc", since = "CURRENT_RUSTC_VERSION")]
402+
#[stable(feature = "asfd_rc", since = "1.69.0")]
403403
impl<T: AsFd> AsFd for crate::rc::Rc<T> {
404404
#[inline]
405405
fn as_fd(&self) -> BorrowedFd<'_> {

library/std/src/os/fd/raw.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ impl<T: AsRawFd> AsRawFd for crate::sync::Arc<T> {
254254
}
255255
}
256256

257-
#[stable(feature = "asfd_rc", since = "CURRENT_RUSTC_VERSION")]
257+
#[stable(feature = "asfd_rc", since = "1.69.0")]
258258
impl<T: AsRawFd> AsRawFd for crate::rc::Rc<T> {
259259
#[inline]
260260
fn as_raw_fd(&self) -> RawFd {

0 commit comments

Comments
 (0)