Skip to content

Commit

Permalink
Add tracking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Feb 9, 2022
1 parent 438826f commit 933963e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_feature/src/active.rs
Expand Up @@ -534,7 +534,7 @@ declare_features! (
/// NOTE: A limited form of `union U { ... }` was accepted in 1.19.0.
(active, untagged_unions, "1.13.0", Some(55149), None),
/// Allows using the `#[used(linker)]` (or `#[used(compiler)]`) attribute.
(active, used_with_arg, "1.60.0", Some(00000), None),
(active, used_with_arg, "1.60.0", Some(93798), None),
/// Allows `extern "wasm" fn`
(active, wasm_abi, "1.53.0", Some(83788), None),
// !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!!
Expand Down
2 changes: 2 additions & 0 deletions src/test/ui/feature-gates/feature-gate-used_with_arg.stderr
Expand Up @@ -4,6 +4,7 @@ error[E0658]: `#[used(linker)]` is currently unstable
LL | #[used(linker)]
| ^^^^^^^^^^^^^^^
|
= note: see issue #93798 <https://github.com/rust-lang/rust/issues/93798> for more information
= help: add `#![feature(used_with_arg)]` to the crate attributes to enable

error[E0658]: `#[used(compiler)]` is currently unstable
Expand All @@ -12,6 +13,7 @@ error[E0658]: `#[used(compiler)]` is currently unstable
LL | #[used(compiler)]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #93798 <https://github.com/rust-lang/rust/issues/93798> for more information
= help: add `#![feature(used_with_arg)]` to the crate attributes to enable

error: aborting due to 2 previous errors
Expand Down

0 comments on commit 933963e

Please sign in to comment.