Skip to content

Commit c55df37

Browse files
committed
Make rustc_attrs tracking issue None
1 parent 4c9e87e commit c55df37

9 files changed

+3
-16
lines changed

src/librustc_feature/active.rs

+3-3
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

-1
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

-3
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

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

-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust
44
LL | #[rustc::unknown]
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: expected attribute, found macro `rustc::unknown`
@@ -19,7 +18,6 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust
1918
LL | #[unknown::rustc]
2019
| ^^^^^
2120
|
22-
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
2321
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
2422

2523
error: expected attribute, found macro `unknown::rustc`
@@ -34,7 +32,6 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust
3432
LL | #[rustc_unknown]
3533
| ^^^^^^^^^^^^^
3634
|
37-
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
3835
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
3936

4037
error: cannot find attribute `rustc_unknown` in this scope
@@ -49,7 +46,6 @@ error[E0658]: the `#[rustc_dummy]` attribute is just used for rustc unit tests a
4946
LL | #[rustc_dummy]
5047
| ^^^^^^^^^^^^^^
5148
|
52-
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
5349
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
5450

5551
error: aborting due to 7 previous errors

src/test/ui/on-unimplemented/feature-gate-on-unimplemented.stderr

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ error[E0658]: this is an internal attribute that will never be stable
44
LL | #[rustc_on_unimplemented = "test error `{Self}` with `{Bar}`"]
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/proc-macro/expand-to-unstable-2.stderr

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust
44
LL | #[derive(Unstable)]
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
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
109

src/test/ui/reserved/reserved-attr-on-macro.stderr

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust
44
LL | #[rustc_attribute_should_be_reserved]
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: cannot determine resolution for the macro `foo`

src/test/ui/suggestions/attribute-typos.stderr

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust
44
LL | #[rustc_err]
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: cannot find attribute `rustc_err` in this scope

src/test/ui/tool-attributes/diagnostic_item.stderr

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ error[E0658]: diagnostic items compiler internal support for linting
44
LL | #[rustc_diagnostic_item = "foomp"]
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

0 commit comments

Comments
 (0)