Skip to content

Commit

Permalink
Rollup merge of rust-lang#58761 - Mark-Simulacrum:add-feature-gate-un…
Browse files Browse the repository at this point in the history
…wind, r=Centril

Add tracking issue for the unwind attribute

cc rust-lang#58760
  • Loading branch information
Centril authored Feb 27, 2019
2 parents 68b86b0 + f313bae commit 63b9207
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/libsyntax/feature_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 63b9207

Please sign in to comment.