Add feature gate tests.

This commit is contained in:
Charles Lew 2021-06-13 18:42:11 +08:00
parent 2dc86a6450
commit ac354cf5ce
5 changed files with 32 additions and 7 deletions

View file

@ -685,7 +685,7 @@ declare_features! (
/// 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),
(incomplete, trait_upcasting, "1.56.0", Some(65991), None),
// -------------------------------------------------------------------------
// feature-group-end: actual feature gates