diff options
| author | Nurzhan Sakén <nurzhan.sakenov@gmail.com> | 2025-07-30 23:39:35 +0400 |
|---|---|---|
| committer | Nurzhan Sakén <nurzhan.sakenov@gmail.com> | 2025-07-30 23:39:35 +0400 |
| commit | 3ff3a1ee0000c7a47cae866fcb086072eeb3f476 (patch) | |
| tree | 524fcc716b4720fda8e4220c3d46806e17bc3507 /compiler | |
| parent | e5e79f8bd428d0b8d26e8240d718b134ef297459 (diff) | |
| download | rust-3ff3a1ee0000c7a47cae866fcb086072eeb3f476.tar.gz rust-3ff3a1ee0000c7a47cae866fcb086072eeb3f476.zip | |
Stabilize strict_overflow_ops
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_const_eval/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/lib.rs b/compiler/rustc_const_eval/src/lib.rs index bf7a79dcb20..8a387a8835b 100644 --- a/compiler/rustc_const_eval/src/lib.rs +++ b/compiler/rustc_const_eval/src/lib.rs @@ -1,6 +1,7 @@ // tidy-alphabetical-start #![allow(internal_features)] #![allow(rustc::diagnostic_outside_of_impl)] +#![cfg_attr(bootstrap, feature(strict_overflow_ops))] #![doc(rust_logo)] #![feature(assert_matches)] #![feature(box_patterns)] @@ -9,7 +10,6 @@ #![feature(never_type)] #![feature(rustdoc_internals)] #![feature(slice_ptr_get)] -#![feature(strict_overflow_ops)] #![feature(trait_alias)] #![feature(try_blocks)] #![feature(unqualified_local_imports)] |
