Skip to content

Commit d4860fc

Browse files
authored
Rollup merge of rust-lang#69561 - JohnTitor:clean-up-unstable-book, r=Mark-Simulacrum
Clean up unstable book - rust-lang#58402's feature was renamed to `tidy_test_never_used_anywhere_else` and it is now used for tidy only - `read_initializer` link is wrong and the doc should be auto-generated so removed - Add dummy doc for `link_cfg` - Stop generating `compiler_builtins_lib` doc in favor of b8ccc0f - Make `rustc_attrs` tracking issue "None"
2 parents 24757a8 + c55df37 commit d4860fc

18 files changed

+20
-58
lines changed

src/doc/unstable-book/src/language-features/const-in-array-repeat-expressions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The tracking issue for this feature is: [#49147]
44

5-
[#44109]: https://github.com/rust-lang/rust/issues/49147
5+
[#49147]: https://github.com/rust-lang/rust/issues/49147
66

77
------------------------
88

src/doc/unstable-book/src/language-features/impl-trait-in-bindings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# `impl_trait_in_bindings`
22

3-
The tracking issue for this feature is: [#34511]
3+
The tracking issue for this feature is: [#63065]
44

5-
[#34511]: https://github.com/rust-lang/rust/issues/34511
5+
[#63065]: https://github.com/rust-lang/rust/issues/63065
66

77
------------------------
88

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# `link_cfg`
2+
3+
This feature is internal to the Rust compiler and is not intended for general use.
4+
5+
------------------------

src/doc/unstable-book/src/language-features/trait-alias.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The tracking issue for this feature is: [#41517]
44

5-
[#41417]: https://github.com/rust-lang/rust/issues/41517
5+
[#41517]: https://github.com/rust-lang/rust/issues/41517
66

77
------------------------
88

src/doc/unstable-book/src/language-features/transparent-unions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The tracking issue for this feature is [#60405]
44

5-
[60405]: https://github.com/rust-lang/rust/issues/60405
5+
[#60405]: https://github.com/rust-lang/rust/issues/60405
66

77
----
88

src/doc/unstable-book/src/library-features/read-initializer.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# `tidy_test_never_used_anywhere_else`
2+
3+
This feature is internal to the Rust compiler and is not intended for general use.
4+
5+
------------------------

src/librustc_feature/active.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ declare_features! (
9999

100100
// no-tracking-issue-start
101101

102+
/// Allows using `rustc_*` attributes (RFC 572).
103+
(active, rustc_attrs, "1.0.0", None, None),
104+
102105
/// Allows using compiler's own crates.
103106
(active, rustc_private, "1.0.0", Some(27812), None),
104107

@@ -128,9 +131,6 @@ declare_features! (
128131
/// Allows using `#[link_name="llvm.*"]`.
129132
(active, link_llvm_intrinsics, "1.0.0", Some(29602), None),
130133

131-
/// Allows using `rustc_*` attributes (RFC 572).
132-
(active, rustc_attrs, "1.0.0", Some(29642), None),
133-
134134
/// Allows using the `box $expr` syntax.
135135
(active, box_syntax, "1.0.0", Some(49733), None),
136136

src/test/ui/consts/min_const_fn/allow_const_fn_ptr_feature_gate.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ error[E0658]: internal implementation detail
44
LL | #[rustc_allow_const_fn_ptr]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
|
7-
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
87
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
98

109
error: aborting due to previous error

src/test/ui/feature-gates/feature-gate-rustc-attrs-1.stderr

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ error[E0658]: the `#[rustc_variance]` attribute is just used for rustc unit test
44
LL | #[rustc_variance]
55
| ^^^^^^^^^^^^^^^^^
66
|
7-
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
87
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
98

109
error[E0658]: the `#[rustc_error]` attribute is just used for rustc unit tests and will never be stable
@@ -13,7 +12,6 @@ error[E0658]: the `#[rustc_error]` attribute is just used for rustc unit tests a
1312
LL | #[rustc_error]
1413
| ^^^^^^^^^^^^^^
1514
|
16-
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
1715
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
1816

1917
error[E0658]: the `#[rustc_nonnull_optimization_guaranteed]` attribute is just used to enable niche optimizations in libcore and will never be stable
@@ -22,7 +20,6 @@ error[E0658]: the `#[rustc_nonnull_optimization_guaranteed]` attribute is just u
2220
LL | #[rustc_nonnull_optimization_guaranteed]
2321
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2422
|
25-
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
2623
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
2724

2825
error: aborting due to 3 previous errors

0 commit comments

Comments
 (0)