From 933963e10ae8837965f44b7e9748ff135f6c57a5 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 9 Feb 2022 10:59:33 +0100 Subject: [PATCH] Add tracking issue --- compiler/rustc_feature/src/active.rs | 2 +- src/test/ui/feature-gates/feature-gate-used_with_arg.stderr | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index 0908e9d1ef9..c652e54ffe7 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -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), // !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! diff --git a/src/test/ui/feature-gates/feature-gate-used_with_arg.stderr b/src/test/ui/feature-gates/feature-gate-used_with_arg.stderr index aaf4ceaf795..d115bf4e365 100644 --- a/src/test/ui/feature-gates/feature-gate-used_with_arg.stderr +++ b/src/test/ui/feature-gates/feature-gate-used_with_arg.stderr @@ -4,6 +4,7 @@ error[E0658]: `#[used(linker)]` is currently unstable LL | #[used(linker)] | ^^^^^^^^^^^^^^^ | + = note: see issue #93798 for more information = help: add `#![feature(used_with_arg)]` to the crate attributes to enable error[E0658]: `#[used(compiler)]` is currently unstable @@ -12,6 +13,7 @@ error[E0658]: `#[used(compiler)]` is currently unstable LL | #[used(compiler)] | ^^^^^^^^^^^^^^^^^ | + = note: see issue #93798 for more information = help: add `#![feature(used_with_arg)]` to the crate attributes to enable error: aborting due to 2 previous errors