Skip to content

Commit

Permalink
Update tracking issue of naked_functions
Browse files Browse the repository at this point in the history
The original tracking issue was superseded by a new one
(constrainted naked functions) and therefore is closed.
  • Loading branch information
nbdd0121 committed Dec 31, 2023
1 parent 1c20462 commit 86bd81f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiler/rustc_feature/src/unstable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions tests/ui/feature-gates/feature-gate-naked_functions.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 86bd81f

Please sign in to comment.