Introduce dyn_star feature flag
The primary purpose of this commit is to introduce the dyn_star flag so we can begin experimenting with implementation. In order to have something to do in the feature gate test, we also add parser support for `dyn* Trait` objects. These are currently treated just like `dyn Trait` objects, but this will change in the future. Note that for now `dyn* Trait` is experimental syntax to enable implementing some of the machinery needed for async fn in dyn traits without fully supporting the feature.
This commit is contained in:
parent
fa6ee93752
commit
eff35e59c6
8 changed files with 63 additions and 3 deletions
|
@ -380,6 +380,8 @@ declare_features! (
|
|||
(active, doc_cfg_hide, "1.57.0", Some(43781), None),
|
||||
/// Allows `#[doc(masked)]`.
|
||||
(active, doc_masked, "1.21.0", Some(44027), None),
|
||||
/// Allows `dyn* Trait` objects.
|
||||
(active, dyn_star, "1.65.0", Some(91611), None),
|
||||
/// Allows `X..Y` patterns.
|
||||
(active, exclusive_range_pattern, "1.11.0", Some(37854), None),
|
||||
/// Allows exhaustive pattern matching on types that contain uninhabited types.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue