Skip to content

Commit 3dc08ed

Browse files
committed
move const_let accepted gate to avoid future conflict.
1 parent 16a4e47 commit 3dc08ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/feature_gate.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -683,12 +683,12 @@ declare_features! (
683683
(accepted, repr_packed, "1.33.0", Some(33158), None),
684684
// Allows calling `const unsafe fn` inside `unsafe` blocks in `const fn` functions.
685685
(accepted, min_const_unsafe_fn, "1.33.0", Some(55607), None),
686-
// `#[cfg_attr(predicate, multiple, attributes, here)]`
687-
(accepted, cfg_attr_multi, "1.33.0", Some(54881), None),
688686
// Allows let bindings, assignments and destructuring in `const` functions and constants.
689687
// As long as control flow is not implemented in const eval, `&&` and `||` may not be used
690688
// at the same time as let bindings.
691689
(accepted, const_let, "1.33.0", Some(48821), None),
690+
// `#[cfg_attr(predicate, multiple, attributes, here)]`
691+
(accepted, cfg_attr_multi, "1.33.0", Some(54881), None),
692692
);
693693

694694
// If you change this, please modify `src/doc/unstable-book` as well. You must

0 commit comments

Comments
 (0)