Implement a explicit_generic_args_with_impl_trait
feature gate
When this gate is enabled, explicit generic arguments can be specified even if `impl Trait` is used in argument position. Generic arguments can only be specified for explicit generic parameters but not for the synthetic type parameters from `impl Trait`
This commit is contained in:
parent
337181e07d
commit
9b90e7e980
10 changed files with 139 additions and 4 deletions
|
@ -687,6 +687,9 @@ declare_features! (
|
|||
/// Trait upcasting is casting, e.g., `dyn Foo -> dyn Bar` where `Foo: Bar`.
|
||||
(incomplete, trait_upcasting, "1.56.0", Some(65991), None),
|
||||
|
||||
/// Allows explicit generic arguments specification with `impl Trait` present.
|
||||
(active, explicit_generic_args_with_impl_trait, "1.56.0", Some(83701), None),
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// feature-group-end: actual feature gates
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue