AngelicosPhosphoros 2024-01-04 19:14:31 +01:00
parent 3a539c0889
commit 59c76fb21b
3 changed files with 1 additions and 3 deletions

View File

@ -947,7 +947,7 @@ extern "rust-intrinsic" {
/// own, or if it does not enable any significant optimizations. /// own, or if it does not enable any significant optimizations.
/// ///
/// This intrinsic does not have a stable counterpart. /// This intrinsic does not have a stable counterpart.
#[rustc_const_unstable(feature = "const_assume", issue = "76972")] #[rustc_const_stable(feature = "const_assume", since = "CURRENT_RUSTC_VERSION")]
#[rustc_nounwind] #[rustc_nounwind]
pub fn assume(b: bool); pub fn assume(b: bool);

View File

@ -119,7 +119,6 @@
#![feature(const_arguments_as_str)] #![feature(const_arguments_as_str)]
#![feature(const_array_from_ref)] #![feature(const_array_from_ref)]
#![feature(const_array_into_iter_constructors)] #![feature(const_array_into_iter_constructors)]
#![feature(const_assume)]
#![feature(const_bigint_helper_methods)] #![feature(const_bigint_helper_methods)]
#![feature(const_black_box)] #![feature(const_black_box)]
#![feature(const_caller_location)] #![feature(const_caller_location)]

View File

@ -7,7 +7,6 @@
#![feature(bigint_helper_methods)] #![feature(bigint_helper_methods)]
#![feature(cell_update)] #![feature(cell_update)]
#![feature(const_align_offset)] #![feature(const_align_offset)]
#![feature(const_assume)]
#![feature(const_align_of_val_raw)] #![feature(const_align_of_val_raw)]
#![feature(const_black_box)] #![feature(const_black_box)]
#![feature(const_caller_location)] #![feature(const_caller_location)]