From bc7416213c20e165ebe723c4328667e8008c0794 Mon Sep 17 00:00:00 2001 From: dylan_DPC Date: Sat, 2 Jun 2018 17:58:06 +0530 Subject: [PATCH] fixed feature gate to right place --- src/libsyntax/feature_gate.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index ecda2b077e1..9adfb61d92d 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -473,8 +473,6 @@ declare_features! ( // 'a: { break 'a; } (active, label_break_value, "1.28.0", Some(48594), None), - // Termination trait in tests (RFC 1937) - (accepted, termination_trait_test, "1.28.0", Some(48854), Some(Edition::Edition2018)), ); declare_features! ( @@ -609,6 +607,8 @@ declare_features! ( (accepted, fn_must_use, "1.27.0", Some(43302), None), // Allows use of the :lifetime macro fragment specifier (accepted, macro_lifetime_matcher, "1.27.0", Some(34303), None), + // Termination trait in tests (RFC 1937) + (accepted, termination_trait_test, "1.27.0", Some(48854), Some(Edition::Edition2018)), ); // If you change this, please modify src/doc/unstable-book as well. You must