Skip to content

Commit db87751

Browse files
Rollup merge of #164754 - clubby789:update-issues, r=mejrs
Update outdated/incorrect unstable tracking issue links While investigating another issue, I noticed that there were a lot of unstable features with incorrect or outdated links to their tracking issues.
2 parents d673776 + 23deb45 commit db87751

27 files changed

Lines changed: 40 additions & 119 deletions

File tree

‎compiler/rustc_builtin_macros/src/deriving/generic/mod.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ impl<'a> TraitDef<'a> {
713713
if self.is_const && cx.ecfg.features.staged_api() {
714714
let rustc_const_unstable = cx.path_name(self.span, sym::rustc_const_unstable);
715715

716-
// #[rustc_const_unstable(feature = "derive_const", issue = "118304")]
716+
// #[rustc_const_unstable(feature = "derive_const", issue = "143874")]
717717
attrs.push(
718718
cx.attr_nested(
719719
rustc_ast::AttrItem {

‎compiler/rustc_feature/src/unstable.rs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ declare_features! (
270270
(internal, profiler_runtime, "1.18.0", None),
271271
/// Allows using `rustc_*` attributes (RFC 572).
272272
(internal, rustc_attrs, "1.0.0", None),
273+
/// Allows using internal rustdoc features like `doc(keyword)`.
274+
(internal, rustdoc_internals, "1.58.0", None),
273275
/// Allows using the `#[stable]` and `#[unstable]` attributes.
274276
(internal, staged_api, "1.0.0", None),
275277
/// Perma-unstable, only used in the test suite for binders (`for<'a>`).
@@ -322,8 +324,6 @@ declare_features! (
322324
(internal, repr_simd, "1.4.0", Some(27731)),
323325
/// Allows using compiler's own crates.
324326
(unstable, rustc_private, "1.0.0", Some(27812)),
325-
/// Allows using internal rustdoc features like `doc(keyword)`.
326-
(internal, rustdoc_internals, "1.58.0", Some(90418)),
327327
/// Allows using the `rustdoc::missing_doc_code_examples` lint
328328
(unstable, rustdoc_missing_doc_code_examples, "1.31.0", Some(101730)),
329329
/// Introduces a hierarchy of `Sized` traits (RFC 3729).
@@ -666,7 +666,7 @@ declare_features! (
666666
/// Allows providing names to parameters of `impl Fn` etc
667667
(unstable, named_fn_trait_parameters, "1.99.0", Some(158499)),
668668
/// Allows specifying the as-needed link modifier
669-
(unstable, native_link_modifiers_as_needed, "1.53.0", Some(81490)),
669+
(unstable, native_link_modifiers_as_needed, "1.53.0", Some(99424)),
670670
/// Allow negative trait implementations.
671671
(unstable, negative_impls, "1.44.0", Some(68318)),
672672
/// Allows the `!` pattern.
@@ -725,7 +725,7 @@ declare_features! (
725725
/// Allows the use of the `sanitize` attribute.
726726
(unstable, sanitize, "1.91.0", Some(39699)),
727727
/// Allows the use of SIMD types in functions declared in `extern` blocks.
728-
(unstable, simd_ffi, "1.0.0", Some(27731)),
728+
(unstable, simd_ffi, "1.0.0", Some(63068)),
729729
/// Target features on sparc.
730730
(unstable, sparc_target_feature, "1.84.0", Some(132783)),
731731
/// Allows specialization of implementations (RFC 1210).

‎compiler/rustc_span/src/symbol.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ symbols! {
839839
deref_target,
840840
derive,
841841
derive_const,
842-
derive_const_issue: "118304",
842+
derive_const_issue: "143874",
843843
derive_default_enum,
844844
derive_from,
845845
derive_smart_pointer,

‎library/alloc/src/collections/vec_deque/iter.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl<'a, T> Iter<'a, T> {
4949
///
5050
/// assert_eq!(iter.as_slices(), (&[9, 10][..], &[0, 1][..]));
5151
/// ```
52-
#[unstable(feature = "vec_deque_iter_as_slices", issue = "123947")]
52+
#[unstable(feature = "vec_deque_iter_as_slices", issue = "133253")]
5353
pub fn as_slices(&self) -> (&'a [T], &'a [T]) {
5454
(self.i1.as_slice(), self.i2.as_slice())
5555
}

‎library/alloc/src/collections/vec_deque/iter_mut.rs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl<'a, T> IterMut<'a, T> {
5252
/// slices.1[0] = 24;
5353
/// assert_eq!(deque.as_slices(), (&[8, 42, 10][..], &[24, 1, 2][..]));
5454
/// ```
55-
#[unstable(feature = "vec_deque_iter_as_slices", issue = "123947")]
55+
#[unstable(feature = "vec_deque_iter_as_slices", issue = "133253")]
5656
pub fn into_slices(self) -> (&'a mut [T], &'a mut [T]) {
5757
(self.i1.into_slice(), self.i2.into_slice())
5858
}
@@ -86,7 +86,7 @@ impl<'a, T> IterMut<'a, T> {
8686
///
8787
/// assert_eq!(iter.as_slices(), (&[9, 10][..], &[0, 1][..]));
8888
/// ```
89-
#[unstable(feature = "vec_deque_iter_as_slices", issue = "123947")]
89+
#[unstable(feature = "vec_deque_iter_as_slices", issue = "133253")]
9090
pub fn as_slices(&self) -> (&[T], &[T]) {
9191
(self.i1.as_slice(), self.i2.as_slice())
9292
}
@@ -122,7 +122,7 @@ impl<'a, T> IterMut<'a, T> {
122122
/// iter.as_mut_slices().1[0] = 24;
123123
/// assert_eq!(deque.as_slices(), (&[8, 42, 10][..], &[24, 1, 2][..]));
124124
/// ```
125-
#[unstable(feature = "vec_deque_iter_as_slices", issue = "123947")]
125+
#[unstable(feature = "vec_deque_iter_as_slices", issue = "133253")]
126126
pub fn as_mut_slices(&mut self) -> (&mut [T], &mut [T]) {
127127
(self.i1.as_mut_slice(), self.i2.as_mut_slice())
128128
}

‎library/alloc/src/slice.rs‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -713,31 +713,31 @@ impl [u8] {
713713
/// fn borrow(&self) -> &[String] { &self.1 }
714714
/// }
715715
/// ```
716-
#[unstable(feature = "slice_concat_trait", issue = "27747")]
716+
#[unstable(feature = "slice_concat_trait", issue = "none", reason = "implementation detail")]
717717
pub trait Concat<Item: ?Sized> {
718-
#[unstable(feature = "slice_concat_trait", issue = "27747")]
718+
#[unstable(feature = "slice_concat_trait", issue = "none", reason = "implementation detail")]
719719
/// The resulting type after concatenation
720720
type Output;
721721

722722
/// Implementation of [`[T]::concat`](slice::concat)
723-
#[unstable(feature = "slice_concat_trait", issue = "27747")]
723+
#[unstable(feature = "slice_concat_trait", issue = "none", reason = "implementation detail")]
724724
fn concat(slice: &Self) -> Self::Output;
725725
}
726726

727727
/// Helper trait for [`[T]::join`](slice::join)
728-
#[unstable(feature = "slice_concat_trait", issue = "27747")]
728+
#[unstable(feature = "slice_concat_trait", issue = "none", reason = "implementation detail")]
729729
pub trait Join<Separator> {
730-
#[unstable(feature = "slice_concat_trait", issue = "27747")]
730+
#[unstable(feature = "slice_concat_trait", issue = "none", reason = "implementation detail")]
731731
/// The resulting type after concatenation
732732
type Output;
733733

734734
/// Implementation of [`[T]::join`](slice::join)
735-
#[unstable(feature = "slice_concat_trait", issue = "27747")]
735+
#[unstable(feature = "slice_concat_trait", issue = "none", reason = "implementation detail")]
736736
fn join(slice: &Self, sep: Separator) -> Self::Output;
737737
}
738738

739739
#[cfg(not(no_global_oom_handling))]
740-
#[unstable(feature = "slice_concat_ext", issue = "27747")]
740+
#[unstable(feature = "slice_concat_ext", issue = "none", reason = "implementation detail")]
741741
impl<T: Clone, V: Borrow<[T]>> Concat<T> for [V] {
742742
type Output = Vec<T>;
743743

@@ -752,7 +752,7 @@ impl<T: Clone, V: Borrow<[T]>> Concat<T> for [V] {
752752
}
753753

754754
#[cfg(not(no_global_oom_handling))]
755-
#[unstable(feature = "slice_concat_ext", issue = "27747")]
755+
#[unstable(feature = "slice_concat_ext", issue = "none", reason = "implementation detail")]
756756
impl<T: Clone, V: Borrow<[T]>> Join<&T> for [V] {
757757
type Output = Vec<T>;
758758

@@ -775,7 +775,7 @@ impl<T: Clone, V: Borrow<[T]>> Join<&T> for [V] {
775775
}
776776

777777
#[cfg(not(no_global_oom_handling))]
778-
#[unstable(feature = "slice_concat_ext", issue = "27747")]
778+
#[unstable(feature = "slice_concat_ext", issue = "none", reason = "implementation detail")]
779779
impl<T: Clone, V: Borrow<[T]>> Join<&[T]> for [V] {
780780
type Output = Vec<T>;
781781

‎library/alloc/src/str.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ use crate::vec::Vec;
5858
/// Note: `str` in `Concat<str>` is not meaningful here.
5959
/// This type parameter of the trait only exists to enable another impl.
6060
#[cfg(not(no_global_oom_handling))]
61-
#[unstable(feature = "slice_concat_ext", issue = "27747")]
61+
#[unstable(feature = "slice_concat_ext", issue = "none", reason = "implementation detail")]
6262
impl<S: Borrow<str>> Concat<str> for [S] {
6363
type Output = String;
6464

@@ -68,7 +68,7 @@ impl<S: Borrow<str>> Concat<str> for [S] {
6868
}
6969

7070
#[cfg(not(no_global_oom_handling))]
71-
#[unstable(feature = "slice_concat_ext", issue = "27747")]
71+
#[unstable(feature = "slice_concat_ext", issue = "none", reason = "implementation detail")]
7272
impl<S: Borrow<str>> Join<&str> for [S] {
7373
type Output = String;
7474

‎library/core/src/intrinsics/gpu.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#[must_use = "returns a pointer that does nothing unless used"]
4747
#[rustc_intrinsic]
4848
#[rustc_nounwind]
49-
#[unstable(feature = "gpu_launch_sized_workgroup_mem", issue = "135513")]
49+
#[unstable(feature = "gpu_launch_sized_workgroup_mem", issue = "131513")]
5050
#[cfg(any(doc, target_arch = "amdgpu", target_arch = "nvptx64"))]
5151
pub fn gpu_launch_sized_workgroup_mem<T>() -> *mut T;
5252

‎library/core/src/intrinsics/mod.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2218,7 +2218,7 @@ pub const fn mul_with_overflow<T: Copy>(x: T, y: T) -> (T, bool);
22182218
/// This currently supports unsigned integers *only*, no signed ones.
22192219
/// The stabilized versions of this intrinsic are available on integers.
22202220
#[unstable(feature = "core_intrinsics", issue = "none")]
2221-
#[rustc_const_unstable(feature = "const_carrying_mul_add", issue = "85532")]
2221+
#[rustc_const_unstable(feature = "const_carrying_mul_add", issue = "152015")]
22222222
#[rustc_nounwind]
22232223
#[rustc_intrinsic]
22242224
#[miri::intrinsic_fallback_is_spec]

‎library/core/src/macros/mod.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,7 +1784,7 @@ pub(crate) mod builtin {
17841784
/// See [the reference] for more info.
17851785
///
17861786
/// [the reference]: ../../../reference/attributes/derive.html
1787-
#[unstable(feature = "derive_const", issue = "118304")]
1787+
#[unstable(feature = "derive_const", issue = "143874")]
17881788
#[rustc_builtin_macro]
17891789
pub macro derive_const($item:item) {
17901790
/* compiler built-in */
@@ -1910,7 +1910,7 @@ pub(crate) mod builtin {
19101910
#[allow_internal_unstable(builtin_syntax)]
19111911
#[unstable(
19121912
feature = "type_ascription",
1913-
issue = "23416",
1913+
issue = "101728",
19141914
reason = "placeholder syntax for type ascription"
19151915
)]
19161916
#[diagnostic::opaque]

0 commit comments

Comments
 (0)