Skip to content

Commit

Permalink
Stabilize the Saturating type (saturating_int_impl, rust-langgh-87920)
Browse files Browse the repository at this point in the history
Also stabilizes saturating_int_assign_impl, rust-langgh-92354.

And also make pub fns const where the underlying saturating_*
fns became const in the meantime since the Saturating type was
created.
  • Loading branch information
kellerkindt committed Sep 2, 2023
1 parent b3136a8 commit 1c27ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/arithmetic_side_effects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
arithmetic_overflow,
unconditional_panic
)]
#![feature(const_mut_refs, inline_const, saturating_int_impl)]
#![feature(const_mut_refs, inline_const)]
#![warn(clippy::arithmetic_side_effects)]

extern crate proc_macro_derive;
Expand Down

0 comments on commit 1c27ba9

Please sign in to comment.