diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2018-12-22 18:06:20 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2018-12-23 10:29:38 +0100 |
| commit | b42a3acaeca0f14df7d35b87d0045b4d58c95b55 (patch) | |
| tree | 247fc7ea243500efc9693c92238721bfe4278f16 /src/libsyntax | |
| parent | 16329b0ad3610b47a97a051df88405b1587238bd (diff) | |
| download | rust-b42a3acaeca0f14df7d35b87d0045b4d58c95b55.tar.gz rust-b42a3acaeca0f14df7d35b87d0045b4d58c95b55.zip | |
stabilize min_const_unsafe_fn in 1.33.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 941a3a288da..2238e429a58 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -486,9 +486,6 @@ declare_features! ( // `extern crate self as foo;` puts local crate root into extern prelude under name `foo`. (active, extern_crate_self, "1.31.0", Some(56409), None), - - // Allows calling `const unsafe fn` inside `unsafe` blocks in `const fn` functions. - (active, min_const_unsafe_fn, "1.31.0", Some(55607), None), ); declare_features! ( @@ -694,6 +691,8 @@ declare_features! ( (accepted, underscore_imports, "1.33.0", Some(48216), None), // Allows `#[repr(packed(N))]` attribute on structs. (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), ); // If you change this, please modify `src/doc/unstable-book` as well. You must |
