Make rustc_attrs
tracking issue None
This commit is contained in:
parent
4c9e87e989
commit
c55df3786a
@ -99,6 +99,9 @@ declare_features! (
|
||||
|
||||
// no-tracking-issue-start
|
||||
|
||||
/// Allows using `rustc_*` attributes (RFC 572).
|
||||
(active, rustc_attrs, "1.0.0", None, None),
|
||||
|
||||
/// Allows using compiler's own crates.
|
||||
(active, rustc_private, "1.0.0", Some(27812), None),
|
||||
|
||||
@ -128,9 +131,6 @@ declare_features! (
|
||||
/// Allows using `#[link_name="llvm.*"]`.
|
||||
(active, link_llvm_intrinsics, "1.0.0", Some(29602), None),
|
||||
|
||||
/// Allows using `rustc_*` attributes (RFC 572).
|
||||
(active, rustc_attrs, "1.0.0", Some(29642), None),
|
||||
|
||||
/// Allows using the `box $expr` syntax.
|
||||
(active, box_syntax, "1.0.0", Some(49733), None),
|
||||
|
||||
|
@ -4,7 +4,6 @@ error[E0658]: internal implementation detail
|
||||
LL | #[rustc_allow_const_fn_ptr]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
|
||||
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
||||
|
||||
error: aborting due to previous error
|
||||
|
@ -4,7 +4,6 @@ error[E0658]: the `#[rustc_variance]` attribute is just used for rustc unit test
|
||||
LL | #[rustc_variance]
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
|
||||
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
||||
|
||||
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
|
||||
LL | #[rustc_error]
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
|
||||
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
||||
|
||||
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
|
||||
LL | #[rustc_nonnull_optimization_guaranteed]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
|
||||
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
||||
|
||||
error: aborting due to 3 previous errors
|
||||
|
@ -4,7 +4,6 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust
|
||||
LL | #[rustc::unknown]
|
||||
| ^^^^^
|
||||
|
|
||||
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
|
||||
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
||||
|
||||
error: expected attribute, found macro `rustc::unknown`
|
||||
@ -19,7 +18,6 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust
|
||||
LL | #[unknown::rustc]
|
||||
| ^^^^^
|
||||
|
|
||||
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
|
||||
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
||||
|
||||
error: expected attribute, found macro `unknown::rustc`
|
||||
@ -34,7 +32,6 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust
|
||||
LL | #[rustc_unknown]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
|
||||
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
||||
|
||||
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
|
||||
LL | #[rustc_dummy]
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
|
||||
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
||||
|
||||
error: aborting due to 7 previous errors
|
||||
|
@ -4,7 +4,6 @@ error[E0658]: this is an internal attribute that will never be stable
|
||||
LL | #[rustc_on_unimplemented = "test error `{Self}` with `{Bar}`"]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
|
||||
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
||||
|
||||
error: aborting due to previous error
|
||||
|
@ -4,7 +4,6 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust
|
||||
LL | #[derive(Unstable)]
|
||||
| ^^^^^^^^
|
||||
|
|
||||
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
|
||||
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
||||
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
|
@ -4,7 +4,6 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust
|
||||
LL | #[rustc_attribute_should_be_reserved]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
|
||||
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
||||
|
||||
error: cannot determine resolution for the macro `foo`
|
||||
|
@ -4,7 +4,6 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust
|
||||
LL | #[rustc_err]
|
||||
| ^^^^^^^^^
|
||||
|
|
||||
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
|
||||
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
||||
|
||||
error: cannot find attribute `rustc_err` in this scope
|
||||
|
@ -4,7 +4,6 @@ error[E0658]: diagnostic items compiler internal support for linting
|
||||
LL | #[rustc_diagnostic_item = "foomp"]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: see issue #29642 <https://github.com/rust-lang/rust/issues/29642> for more information
|
||||
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
||||
|
||||
error: aborting due to previous error
|
||||
|
Loading…
Reference in New Issue
Block a user