Skip to content

Commit c9567f6

Browse files
authored
Rollup merge of rust-lang#120233 - oli-obk:revert_trait_obj_upcast_stabilization, r=lcnr
Revert stabilization of trait_upcasting feature Reverts rust-lang#118133 This reverts commit 6d2b84b, reversing changes made to 73bc121. The feature has a soundness bug: * rust-lang#120222 It is unclear to me whether we'll actually want to destabilize, but I thought it was still prudent to open the PR for easy destabilization once we get there.
2 parents b07695b + b88cdf2 commit c9567f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/tests/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
#![feature(slice_flatten)]
114114
#![feature(error_generic_member_access)]
115115
#![feature(error_in_core)]
116+
#![cfg_attr(not(bootstrap), feature(trait_upcasting))]
116117
#![feature(utf8_chunks)]
117118
#![feature(is_ascii_octdigit)]
118119
#![feature(get_many_mut)]

0 commit comments

Comments
 (0)