Support ?Trait bounds in supertraits and dyn Trait under a feature gate
This commit is contained in:
parent
28e684b470
commit
2a73553513
34 changed files with 305 additions and 85 deletions
|
@ -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!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue