diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-02-20 13:49:54 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2018-02-20 19:12:52 -0500 |
| commit | a47fd3df89c267829d96748b3bdff305f20d27d5 (patch) | |
| tree | 676d0df0845297a873c5e0a6620f464dea49a642 /src/libsyntax/feature_gate.rs | |
| parent | 27a046e9338fb0455c33b13e8fe28da78212dedc (diff) | |
| download | rust-a47fd3df89c267829d96748b3bdff305f20d27d5.tar.gz rust-a47fd3df89c267829d96748b3bdff305f20d27d5.zip | |
make `#[unwind]` attribute specify expectations more clearly
You can now choose between the following: - `#[unwind(allowed)]` - `#[unwind(aborts)]` Per rust-lang/rust#48251, the default is `#[unwind(allowed)]`, though I think we should change this eventually.
Diffstat (limited to 'src/libsyntax/feature_gate.rs')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 3b137f9570a..f1d0a70a22c 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -233,7 +233,7 @@ declare_features! ( // allow `extern "platform-intrinsic" { ... }` (active, platform_intrinsics, "1.4.0", Some(27731)), - // allow `#[unwind]` + // allow `#[unwind(..)]` // rust runtime internal (active, unwind_attributes, "1.4.0", None), |
