diff options
| author | Andrew Cann <shum@canndrew.org> | 2022-03-13 14:41:44 +0800 |
|---|---|---|
| committer | Charles Lew <crlf0710@gmail.com> | 2022-09-11 14:04:12 +0800 |
| commit | 0228c073e07bc36ab4dbb88ab7f3cbdf00832d59 (patch) | |
| tree | 9237ad3cedb36706c204737ee902a2748a3a50d4 /compiler/rustc_feature/src | |
| parent | 2c0bc9444eea8677a307c2440b2f206911d5bbbe (diff) | |
| download | rust-0228c073e07bc36ab4dbb88ab7f3cbdf00832d59.tar.gz rust-0228c073e07bc36ab4dbb88ab7f3cbdf00832d59.zip | |
add generator_clone feature gate
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 98258834bd5..0168587fbce 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -396,6 +396,8 @@ declare_features! ( (active, fn_align, "1.53.0", Some(82232), None), /// Allows defining generators. (active, generators, "1.21.0", Some(43122), None), + /// Allows generators to be cloned. + (active, generator_clone, "1.60.0", None, None), /// Infer generic args for both consts and types. (active, generic_arg_infer, "1.55.0", Some(85077), None), /// Allows associated types to be generic, e.g., `type Foo<T>;` (RFC 1598). |
