diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-06-02 20:15:05 +0400 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-07-12 16:25:16 +0400 |
| commit | 40ae7b5b8e09da657b62bc849b8bcdf99a1cb210 (patch) | |
| tree | f2a08c2651b0cb786a37697ee7806b272c01bb1d /compiler/rustc_feature/src | |
| parent | fbdb07f4e7f4666085aec4b1ed2fd05817dc42cf (diff) | |
| download | rust-40ae7b5b8e09da657b62bc849b8bcdf99a1cb210.tar.gz rust-40ae7b5b8e09da657b62bc849b8bcdf99a1cb210.zip | |
Parse closure binders
This is first step in implementing RFC 3216. - Parse `for<'a>` before closures in ast - Error in lowering - Add `closure_lifetime_binder` feature
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index b54f0ef361a..8d19ae2e3f4 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -331,6 +331,8 @@ declare_features! ( (active, cfg_target_thread_local, "1.7.0", Some(29594), None), /// Allow conditional compilation depending on rust version (active, cfg_version, "1.45.0", Some(64796), None), + /// Allows `for<...>` on closures and generators. + (active, closure_lifetime_binder, "1.64.0", Some(97362), None), /// Allows `#[track_caller]` on closures and generators. (active, closure_track_caller, "1.57.0", Some(87417), None), /// Allows to use the `#[cmse_nonsecure_entry]` attribute. |
