diff options
| author | Bryanskiy <ivakin.kir@gmail.com> | 2024-02-23 16:39:57 +0300 |
|---|---|---|
| committer | Bryanskiy <ivakin.kir@gmail.com> | 2024-07-25 20:53:33 +0300 |
| commit | 2a73553513f393ab00e2da217ff0082403f1985b (patch) | |
| tree | 7fb5601e4fe8c40a81711b5d146e68da5c6aa184 /compiler/rustc_feature/src | |
| parent | 28e684b47000d4ed4cdb5d982331e5ff8141c1ce (diff) | |
| download | rust-2a73553513f393ab00e2da217ff0082403f1985b.tar.gz rust-2a73553513f393ab00e2da217ff0082403f1985b.zip | |
Support ?Trait bounds in supertraits and dyn Trait under a feature gate
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/unstable.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index 9b5ed3b0876..d3d07181096 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -205,6 +205,8 @@ declare_features! ( (unstable, lifetime_capture_rules_2024, "1.76.0", None), /// Allows `#[link(..., cfg(..))]`; perma-unstable per #37406 (unstable, link_cfg, "1.14.0", None), + /// Allows using `?Trait` trait bounds in more contexts. + (internal, more_maybe_bounds, "CURRENT_RUSTC_VERSION", None), /// Allows the `multiple_supertrait_upcastable` lint. (unstable, multiple_supertrait_upcastable, "1.69.0", None), /// Allow negative trait bounds. This is an internal-only feature for testing the trait solver! |
