diff options
| author | Waffle Lapkin <waffle.lapkin@gmail.com> | 2024-12-16 01:35:51 +0100 |
|---|---|---|
| committer | Waffle Lapkin <waffle.lapkin@gmail.com> | 2025-02-06 23:30:23 +0100 |
| commit | da9a85a1a6ef4f8b3b4cb1829ed35cd6c975d9f6 (patch) | |
| tree | a4c75871104b0f971ea6f5c230b12555efebba63 /compiler/rustc_middle/src/lib.rs | |
| parent | 942db6782f4a28c55b0b75b38fd4394d0483390f (diff) | |
| download | rust-da9a85a1a6ef4f8b3b4cb1829ed35cd6c975d9f6.tar.gz rust-da9a85a1a6ef4f8b3b4cb1829ed35cd6c975d9f6.zip | |
stabilize `feature(trait_upcasting)`
Diffstat (limited to 'compiler/rustc_middle/src/lib.rs')
| -rw-r--r-- | compiler/rustc_middle/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/lib.rs b/compiler/rustc_middle/src/lib.rs index 7a6d329fd47..95128a5d903 100644 --- a/compiler/rustc_middle/src/lib.rs +++ b/compiler/rustc_middle/src/lib.rs @@ -29,6 +29,7 @@ #![allow(rustc::diagnostic_outside_of_impl)] #![allow(rustc::potential_query_instability)] #![allow(rustc::untranslatable_diagnostic)] +#![cfg_attr(bootstrap, feature(trait_upcasting))] #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] #![doc(rust_logo)] #![feature(allocator_api)] @@ -56,7 +57,6 @@ #![feature(ptr_alignment_type)] #![feature(rustc_attrs)] #![feature(rustdoc_internals)] -#![feature(trait_upcasting)] #![feature(trusted_len)] #![feature(try_blocks)] #![feature(try_trait_v2)] |
