1
Fork 0

Add feature gate

This commit is contained in:
kadmin 2023-04-04 08:41:44 +00:00 committed by julianknodt
parent 648a35e327
commit b76dd8c807
9 changed files with 200 additions and 18 deletions

View file

@ -516,6 +516,8 @@ declare_features! (
/// Allows dyn upcasting trait objects via supertraits.
/// Dyn upcasting is casting, e.g., `dyn Foo -> dyn Bar` where `Foo: Bar`.
(active, trait_upcasting, "1.56.0", Some(65991), None),
/// Allows for transmuting between arrays with sizes that contain generic consts.
(active, transmute_generic_consts, "CURRENT_RUSTC_VERSION", Some(109929), None),
/// Allows #[repr(transparent)] on unions (RFC 2645).
(active, transparent_unions, "1.37.0", Some(60405), None),
/// Allows inconsistent bounds in where clauses.