1
Fork 0

Added feature gate.

This commit is contained in:
Alexander Regueiro 2019-10-31 10:52:05 +08:00 committed by Charles Lew
parent 87dc824248
commit 2dc86a6450
2 changed files with 5 additions and 0 deletions

View file

@ -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
// -------------------------------------------------------------------------