Skip to content

Commit f7c7cb7

Browse files
author
The Miri Cronjob Bot
committed
Merge from rustc
2 parents 43b9d5f + fdce0ba commit f7c7cb7

File tree

8 files changed

+6
-10
lines changed

8 files changed

+6
-10
lines changed

core/src/iter/sources/generator.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
///
1010
/// ```
1111
/// #![feature(iter_macro, coroutines)]
12-
/// # #[cfg(not(bootstrap))]
13-
/// # {
1412
///
1513
/// let it = std::iter::iter!{|| {
1614
/// yield 1;
@@ -19,7 +17,6 @@
1917
/// } }();
2018
/// let v: Vec<_> = it.collect();
2119
/// assert_eq!(v, [1, 2, 3]);
22-
/// # }
2320
/// ```
2421
#[unstable(feature = "iter_macro", issue = "none", reason = "generators are unstable")]
2522
#[allow_internal_unstable(coroutines, iter_from_coroutine)]

core/src/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
//! | [`ptr::NonNull<U>`] | when `U: Sized` |
138138
//! | `#[repr(transparent)]` struct around one of the types in this list. | when it holds for the inner type |
139139
//!
140-
//! [^extern_fn]: this remains true for any argument/return types and any other ABI: `extern "abi" fn` (_e.g._, `extern "system" fn`)
140+
//! [^extern_fn]: this remains true for `unsafe` variants, any argument/return types, and any other ABI: `[unsafe] extern "abi" fn` (_e.g._, `extern "system" fn`)
141141
//!
142142
//! Under some conditions the above types `T` are also null pointer optimized when wrapped in a [`Result`][result_repr].
143143
//!

core/src/slice/ascii.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl [u8] {
5252
/// Same as `to_ascii_lowercase(a) == to_ascii_lowercase(b)`,
5353
/// but without allocating and copying temporaries.
5454
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
55-
#[rustc_const_unstable(feature = "const_eq_ignore_ascii_case", issue = "131719")]
55+
#[rustc_const_stable(feature = "const_eq_ignore_ascii_case", since = "CURRENT_RUSTC_VERSION")]
5656
#[must_use]
5757
#[inline]
5858
pub const fn eq_ignore_ascii_case(&self, other: &[u8]) -> bool {

core/src/str/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2671,7 +2671,7 @@ impl str {
26712671
/// assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
26722672
/// ```
26732673
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
2674-
#[rustc_const_unstable(feature = "const_eq_ignore_ascii_case", issue = "131719")]
2674+
#[rustc_const_stable(feature = "const_eq_ignore_ascii_case", since = "CURRENT_RUSTC_VERSION")]
26752675
#[must_use]
26762676
#[inline]
26772677
pub const fn eq_ignore_ascii_case(&self, other: &str) -> bool {

std/src/ffi/os_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ impl OsString {
568568
/// However, keep in mind that trimming the capacity may result in a reallocation and copy.
569569
///
570570
/// [`into_boxed_os_str`]: Self::into_boxed_os_str
571-
#[unstable(feature = "os_string_pathbuf_leak", issue = "125965")]
571+
#[stable(feature = "os_string_pathbuf_leak", since = "CURRENT_RUSTC_VERSION")]
572572
#[inline]
573573
pub fn leak<'a>(self) -> &'a mut OsStr {
574574
OsStr::from_inner_mut(self.inner.leak())

std/src/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ impl PathBuf {
12521252
/// However, keep in mind that trimming the capacity may result in a reallocation and copy.
12531253
///
12541254
/// [`into_boxed_path`]: Self::into_boxed_path
1255-
#[unstable(feature = "os_string_pathbuf_leak", issue = "125965")]
1255+
#[stable(feature = "os_string_pathbuf_leak", since = "CURRENT_RUSTC_VERSION")]
12561256
#[inline]
12571257
pub fn leak<'a>(self) -> &'a mut Path {
12581258
Path::from_inner_mut(self.inner.leak())

std/tests/path.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
path_add_extension,
44
path_file_prefix,
55
maybe_uninit_slice,
6-
os_string_pathbuf_leak,
76
normalize_lexically
87
)]
98

stdarch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit b6e2249e388f520627544812649b77b0944e1a2e
1+
Subproject commit 5c1c436524c0bbc8db83577f42f8bea9006a7b75

0 commit comments

Comments
 (0)