Added feature gate.
This commit is contained in:
parent
87dc824248
commit
2dc86a6450
2 changed files with 5 additions and 0 deletions
|
@ -683,6 +683,10 @@ declare_features! (
|
|||
/// Allows the `?` operator in const contexts.
|
||||
(active, const_try, "1.56.0", Some(74935), None),
|
||||
|
||||
/// Allows upcasting trait objects via supertraits.
|
||||
/// Trait upcasting is casting, e.g., `dyn Foo -> dyn Bar` where `Foo: Bar`.
|
||||
(active, trait_upcasting, "1.56.0", Some(65991), None),
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// feature-group-end: actual feature gates
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue