Stabilize saturating_abs and saturating_neg

Stabilizes the following signed integer functions with saturation
mechanics:
 * saturating_abs()
 * saturating_neg()

Closes #59983
This commit is contained in:
Tobias Rapp 2020-05-04 17:32:27 +02:00
parent ff4df04799
commit f99344ace4
3 changed files with 4 additions and 8 deletions

View file

@ -1,6 +1,5 @@
// run-pass
#![feature(saturating_neg)]
#![feature(const_checked_int_methods)]
#![feature(const_euclidean_int_methods)]
#![feature(const_overflowing_int_methods)]