diff options
| author | bors <bors@rust-lang.org> | 2024-01-24 18:31:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-24 18:31:47 +0000 |
| commit | a27ad23393060264b5be0a09b73d17a843d69689 (patch) | |
| tree | 330fce1a4e2ac596f91856c83d353b38580c0bde /compiler/rustc_feature/src/unstable.rs | |
| parent | e8b6db72515807fa301ff8d39b8ac058d5653fd1 (diff) | |
| parent | 3a638f72867eb2f24b7de3529d4354b08741b24c (diff) | |
| download | rust-a27ad23393060264b5be0a09b73d17a843d69689.tar.gz rust-a27ad23393060264b5be0a09b73d17a843d69689.zip | |
Auto merge of #120269 - oli-obk:revert_trait_obj_upcast_stabilization, r=jackh726
[beta] Revert trait obj upcast stabilization backport of https://github.com/rust-lang/rust/pull/120233 note that this is not yet approved for beta backport
Diffstat (limited to 'compiler/rustc_feature/src/unstable.rs')
| -rw-r--r-- | compiler/rustc_feature/src/unstable.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index 1ad75a692c7..eadb19f6fc3 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -580,6 +580,9 @@ declare_features! ( (unstable, thread_local, "1.0.0", Some(29594)), /// Allows defining `trait X = A + B;` alias items. (unstable, trait_alias, "1.24.0", Some(41517)), + /// Allows dyn upcasting trait objects via supertraits. + /// Dyn upcasting is casting, e.g., `dyn Foo -> dyn Bar` where `Foo: Bar`. + (unstable, trait_upcasting, "1.56.0", Some(65991)), /// Allows for transmuting between arrays with sizes that contain generic consts. (unstable, transmute_generic_consts, "1.70.0", Some(109929)), /// Allows #[repr(transparent)] on unions (RFC 2645). |
