From 1fd8e57c5b329e253404161bddcf29e0bfc12f0b Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Mon, 6 Aug 2018 14:45:19 -0700 Subject: [PATCH] Rust 2018: Disable catch_expr, not targeted for 2018 edition Fixes #52604 --- src/libsyntax/feature_gate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 193e560893f37..5ac5064bd035f 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -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),