diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-01-12 10:31:52 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-01-12 10:31:52 +0100 |
| commit | 3dc08ed0688a07004693415155bae18c3e077992 (patch) | |
| tree | d1b2e78ba8763467436400cb051da39cc3375e13 | |
| parent | 16a4e477d8f5c3950238aa083781e21d5ef671fb (diff) | |
| download | rust-3dc08ed0688a07004693415155bae18c3e077992.tar.gz rust-3dc08ed0688a07004693415155bae18c3e077992.zip | |
move const_let accepted gate to avoid future conflict.
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index a7b391f2d1a..6c5c7defd43 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -683,12 +683,12 @@ declare_features! ( (accepted, repr_packed, "1.33.0", Some(33158), None), // Allows calling `const unsafe fn` inside `unsafe` blocks in `const fn` functions. (accepted, min_const_unsafe_fn, "1.33.0", Some(55607), None), - // `#[cfg_attr(predicate, multiple, attributes, here)]` - (accepted, cfg_attr_multi, "1.33.0", Some(54881), None), // Allows let bindings, assignments and destructuring in `const` functions and constants. // As long as control flow is not implemented in const eval, `&&` and `||` may not be used // at the same time as let bindings. (accepted, const_let, "1.33.0", Some(48821), None), + // `#[cfg_attr(predicate, multiple, attributes, here)]` + (accepted, cfg_attr_multi, "1.33.0", Some(54881), None), ); // If you change this, please modify `src/doc/unstable-book` as well. You must |
