Skip to content

Commit 6f672e7

Browse files
committed
Set issue
1 parent dba9c55 commit 6f672e7

File tree

10 files changed

+16
-16
lines changed

10 files changed

+16
-16
lines changed

library/alloc/src/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2611,7 +2611,7 @@ impl_eq! { Cow<'a, str>, &'b str }
26112611
impl_eq! { Cow<'a, str>, String }
26122612

26132613
#[stable(feature = "rust1", since = "1.0.0")]
2614-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
2614+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
26152615
impl const Default for String {
26162616
/// Creates an empty `String`.
26172617
#[inline]

library/alloc/src/vec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3840,7 +3840,7 @@ unsafe impl<#[may_dangle] T, A: Allocator> Drop for Vec<T, A> {
38403840
}
38413841

38423842
#[stable(feature = "rust1", since = "1.0.0")]
3843-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
3843+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
38443844
impl<T> const Default for Vec<T> {
38453845
/// Creates an empty `Vec<T>`.
38463846
///

library/core/src/cell.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ impl<T: Copy> Clone for Cell<T> {
333333
}
334334

335335
#[stable(feature = "rust1", since = "1.0.0")]
336-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
336+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
337337
impl<T: ~const Default> const Default for Cell<T> {
338338
/// Creates a `Cell<T>`, with the `Default` value for T.
339339
#[inline]
@@ -1327,7 +1327,7 @@ impl<T: Clone> Clone for RefCell<T> {
13271327
}
13281328

13291329
#[stable(feature = "rust1", since = "1.0.0")]
1330-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
1330+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
13311331
impl<T: ~const Default> const Default for RefCell<T> {
13321332
/// Creates a `RefCell<T>`, with the `Default` value for T.
13331333
#[inline]
@@ -2335,7 +2335,7 @@ impl<T: ?Sized> UnsafeCell<T> {
23352335
}
23362336

23372337
#[stable(feature = "unsafe_cell_default", since = "1.10.0")]
2338-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
2338+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
23392339
impl<T: ~const Default> const Default for UnsafeCell<T> {
23402340
/// Creates an `UnsafeCell`, with the `Default` value for T.
23412341
fn default() -> UnsafeCell<T> {
@@ -2443,7 +2443,7 @@ impl<T: ?Sized> SyncUnsafeCell<T> {
24432443
}
24442444

24452445
#[unstable(feature = "sync_unsafe_cell", issue = "95439")]
2446-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
2446+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
24472447
impl<T: ~const Default> const Default for SyncUnsafeCell<T> {
24482448
/// Creates an `SyncUnsafeCell`, with the `Default` value for T.
24492449
fn default() -> SyncUnsafeCell<T> {

library/core/src/default.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ use crate::ascii::Char as AsciiChar;
104104
#[rustc_diagnostic_item = "Default"]
105105
#[stable(feature = "rust1", since = "1.0.0")]
106106
#[const_trait]
107-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
107+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
108108
pub trait Default: Sized {
109109
/// Returns the "default value" for a type.
110110
///
@@ -151,7 +151,7 @@ pub macro Default($item:item) {
151151
macro_rules! default_impl {
152152
($t:ty, $v:expr, $doc:tt) => {
153153
#[stable(feature = "rust1", since = "1.0.0")]
154-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
154+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
155155
impl const Default for $t {
156156
#[inline(always)]
157157
#[doc = $doc]

library/core/src/iter/sources/empty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl<T> Clone for Empty<T> {
8181
// not #[derive] because that adds a Default bound on T,
8282
// which isn't necessary.
8383
#[stable(feature = "iter_empty", since = "1.2.0")]
84-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
84+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
8585
impl<T> const Default for Empty<T> {
8686
fn default() -> Empty<T> {
8787
Empty(marker::PhantomData)

library/core/src/marker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ impl<T: PointeeSized> Clone for PhantomData<T> {
855855
}
856856

857857
#[stable(feature = "rust1", since = "1.0.0")]
858-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
858+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
859859
impl<T: PointeeSized> const Default for PhantomData<T> {
860860
fn default() -> Self {
861861
Self

library/core/src/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@ where
21112111
impl<T> crate::clone::UseCloned for Option<T> where T: crate::clone::UseCloned {}
21122112

21132113
#[stable(feature = "rust1", since = "1.0.0")]
2114-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
2114+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
21152115
impl<T> const Default for Option<T> {
21162116
/// Returns [`None`][Option::None].
21172117
///

library/core/src/ptr/alignment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ impl hash::Hash for Alignment {
230230

231231
/// Returns [`Alignment::MIN`], which is valid for any type.
232232
#[unstable(feature = "ptr_alignment_type", issue = "102070")]
233-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
233+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
234234
impl const Default for Alignment {
235235
fn default() -> Alignment {
236236
Alignment::MIN

library/core/src/slice/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5158,7 +5158,7 @@ where
51585158
}
51595159

51605160
#[stable(feature = "rust1", since = "1.0.0")]
5161-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
5161+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
51625162
impl<T> const Default for &[T] {
51635163
/// Creates an empty slice.
51645164
fn default() -> Self {
@@ -5167,7 +5167,7 @@ impl<T> const Default for &[T] {
51675167
}
51685168

51695169
#[stable(feature = "mut_slice_default", since = "1.5.0")]
5170-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
5170+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
51715171
impl<T> const Default for &mut [T] {
51725172
/// Creates a mutable empty slice.
51735173
fn default() -> Self {

library/core/src/str/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3072,7 +3072,7 @@ impl AsRef<[u8]> for str {
30723072
}
30733073

30743074
#[stable(feature = "rust1", since = "1.0.0")]
3075-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
3075+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
30763076
impl const Default for &str {
30773077
/// Creates an empty str
30783078
#[inline]
@@ -3082,7 +3082,7 @@ impl const Default for &str {
30823082
}
30833083

30843084
#[stable(feature = "default_mut_str", since = "1.28.0")]
3085-
#[rustc_const_unstable(feature = "const_default", issue = "none")]
3085+
#[rustc_const_unstable(feature = "const_default", issue = "67792")]
30863086
impl const Default for &mut str {
30873087
/// Creates an empty mutable str
30883088
#[inline]

0 commit comments

Comments
 (0)