Skip to content

Commit 9da780d

Browse files
committed
Rollup merge of rust-lang#53135 - joshtriplett:remove-catch-from-2018-preview, r=Mark-Simulacrum
Rust 2018: Disable catch_expr, not targeted for 2018 edition Fixes rust-lang#52604
2 parents a5cd4b5 + 1fd8e57 commit 9da780d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/feature_gate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ declare_features! (
323323
(active, abi_x86_interrupt, "1.17.0", Some(40180), None),
324324

325325
// Allows the `catch {...}` expression
326-
(active, catch_expr, "1.17.0", Some(31436), Some(Edition::Edition2018)),
326+
(active, catch_expr, "1.17.0", Some(31436), None),
327327

328328
// Used to preserve symbols (see llvm.used)
329329
(active, used, "1.18.0", Some(40289), None),

0 commit comments

Comments
 (0)