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:
Mazdak Farrokhzad 2019-02-27 13:32:37 +01:00 committed by GitHub
commit 1394b6f3a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -233,8 +233,8 @@ declare_features! (
// Allows `#[unwind(..)]`.
//
// rustc internal for rust runtime
(active, unwind_attributes, "1.4.0", None, None),
// Permits specifying whether a function should permit unwinding or abort on unwind.
(active, unwind_attributes, "1.4.0", Some(58760), None),
// Allows the use of `#[naked]` on functions.
(active, naked_functions, "1.9.0", Some(32408), None),

View file

@ -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
|
LL | #[unwind(allowed)] //~ ERROR #[unwind] is experimental