fixed feature gate to right place

This commit is contained in:
dylan_DPC 2018-06-02 17:58:06 +05:30
parent b78457f0fb
commit bc7416213c

View File

@ -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