diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-10-02 12:02:41 -0700 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-10-05 19:56:50 -0700 |
| commit | e1d76818b2b505e88bcd0c965da945e7e2e4329e (patch) | |
| tree | a64db42a2dabd5d889f71e0a4ccc03bc24740add /compiler/rustc_feature | |
| parent | a1dfd2490a6cb456b92e469fa550dc217e20ad6d (diff) | |
| download | rust-e1d76818b2b505e88bcd0c965da945e7e2e4329e.tar.gz rust-e1d76818b2b505e88bcd0c965da945e7e2e4329e.zip | |
Add `#![feature(const_fn_impl)]`
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 cd018ae1204..19da310b3b2 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -596,6 +596,9 @@ declare_features! ( /// Allows rustc to inject a default alloc_error_handler (active, default_alloc_error_handler, "1.48.0", Some(66741), None), + /// Allows argument and return position `impl Trait` in a `const fn`. + (active, const_fn_impl_trait, "1.48.0", Some(77463), None), + // ------------------------------------------------------------------------- // feature-group-end: actual feature gates // ------------------------------------------------------------------------- |
