Rollup merge of #53135 - joshtriplett:remove-catch-from-2018-preview, r=Mark-Simulacrum

Rust 2018: Disable catch_expr, not targeted for 2018 edition

Fixes #52604
This commit is contained in:
kennytm 2018-08-07 18:51:51 +08:00
commit 9da780dcc7
No known key found for this signature in database
GPG key ID: FEF6C8051D0E013C

View file

@ -323,7 +323,7 @@ declare_features! (
(active, abi_x86_interrupt, "1.17.0", Some(40180), None),
// Allows the `catch {...}` expression
(active, catch_expr, "1.17.0", Some(31436), Some(Edition::Edition2018)),
(active, catch_expr, "1.17.0", Some(31436), None),
// Used to preserve symbols (see llvm.used)
(active, used, "1.18.0", Some(40289), None),