diff options
| author | Ralf Jung <post@ralfj.de> | 2021-04-18 19:02:33 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2021-04-18 19:11:29 +0200 |
| commit | fbfaab2cb745e98ab0f01631803319fd4cce2709 (patch) | |
| tree | 596f84fc852196e6b324b64ca1e1ab87bcd2d090 /compiler/rustc_feature | |
| parent | fdad6ab3a3e3f2cdd6bda7f2cc0c7da698ac01a0 (diff) | |
| download | rust-fbfaab2cb745e98ab0f01631803319fd4cce2709.tar.gz rust-fbfaab2cb745e98ab0f01631803319fd4cce2709.zip | |
separate feature flag for unsizing casts in const fn
Diffstat (limited to 'compiler/rustc_feature')
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index d04c89aa13c..590d16e9a5d 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -579,6 +579,9 @@ declare_features! ( /// Allows trait bounds in `const fn`. (active, const_fn_trait_bound, "1.53.0", Some(57563), None), + /// Allows unsizing coercions in `const fn`. + (active, const_fn_unsize, "1.53.0", Some(64992), None), + /// Allows to use the `#[cmse_nonsecure_entry]` attribute. (active, cmse_nonsecure_entry, "1.48.0", Some(75835), None), |
