diff options
| author | Gary Guo <gary@garyguo.net> | 2023-12-31 16:25:15 +0000 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2023-12-31 17:09:46 +0000 |
| commit | 86bd81fe833c338c1fb82428ea3414f54fd9d567 (patch) | |
| tree | 967f1bdf7a0206c52b685e0d264848461a97fad4 | |
| parent | 1c204623386a86d5d6391111b42fc06686374c85 (diff) | |
| download | rust-86bd81fe833c338c1fb82428ea3414f54fd9d567.tar.gz rust-86bd81fe833c338c1fb82428ea3414f54fd9d567.zip | |
Update tracking issue of naked_functions
The original tracking issue was superseded by a new one (constrainted naked functions) and therefore is closed.
| -rw-r--r-- | compiler/rustc_feature/src/unstable.rs | 2 | ||||
| -rw-r--r-- | tests/ui/feature-gates/feature-gate-naked_functions.stderr | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index 763bd4fc391..e6faad74384 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -525,7 +525,7 @@ declare_features! ( /// Allows the `#[must_not_suspend]` attribute. (unstable, must_not_suspend, "1.57.0", Some(83310)), /// Allows using `#[naked]` on functions. - (unstable, naked_functions, "1.9.0", Some(32408)), + (unstable, naked_functions, "1.9.0", Some(90957)), /// Allows specifying the as-needed link modifier (unstable, native_link_modifiers_as_needed, "1.53.0", Some(81490)), /// Allow negative trait implementations. diff --git a/tests/ui/feature-gates/feature-gate-naked_functions.stderr b/tests/ui/feature-gates/feature-gate-naked_functions.stderr index 4378fb36367..dc6c9138c5d 100644 --- a/tests/ui/feature-gates/feature-gate-naked_functions.stderr +++ b/tests/ui/feature-gates/feature-gate-naked_functions.stderr @@ -4,7 +4,7 @@ error[E0658]: the `#[naked]` attribute is an experimental feature LL | #[naked] | ^^^^^^^^ | - = note: see issue #32408 <https://github.com/rust-lang/rust/issues/32408> for more information + = note: see issue #90957 <https://github.com/rust-lang/rust/issues/90957> for more information = help: add `#![feature(naked_functions)]` to the crate attributes to enable error[E0658]: the `#[naked]` attribute is an experimental feature @@ -13,7 +13,7 @@ error[E0658]: the `#[naked]` attribute is an experimental feature LL | #[naked] | ^^^^^^^^ | - = note: see issue #32408 <https://github.com/rust-lang/rust/issues/32408> for more information + = note: see issue #90957 <https://github.com/rust-lang/rust/issues/90957> for more information = help: add `#![feature(naked_functions)]` to the crate attributes to enable error: aborting due to 2 previous errors |
