Rollup merge of #58761 - Mark-Simulacrum:add-feature-gate-unwind, r=Centril
Add tracking issue for the unwind attribute cc https://github.com/rust-lang/rust/issues/58760
This commit is contained in:
commit
1394b6f3a1
2 changed files with 3 additions and 3 deletions
|
@ -233,8 +233,8 @@ declare_features! (
|
||||||
|
|
||||||
// Allows `#[unwind(..)]`.
|
// Allows `#[unwind(..)]`.
|
||||||
//
|
//
|
||||||
// rustc internal for rust runtime
|
// Permits specifying whether a function should permit unwinding or abort on unwind.
|
||||||
(active, unwind_attributes, "1.4.0", None, None),
|
(active, unwind_attributes, "1.4.0", Some(58760), None),
|
||||||
|
|
||||||
// Allows the use of `#[naked]` on functions.
|
// Allows the use of `#[naked]` on functions.
|
||||||
(active, naked_functions, "1.9.0", Some(32408), None),
|
(active, naked_functions, "1.9.0", Some(32408), None),
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
error[E0658]: #[unwind] is experimental
|
error[E0658]: #[unwind] is experimental (see issue #58760)
|
||||||
--> $DIR/feature-gate-unwind-attributes.rs:11:5
|
--> $DIR/feature-gate-unwind-attributes.rs:11:5
|
||||||
|
|
|
|
||||||
LL | #[unwind(allowed)] //~ ERROR #[unwind] is experimental
|
LL | #[unwind(allowed)] //~ ERROR #[unwind] is experimental
|
||||||
|
|
Loading…
Reference in a new issue