diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2021-01-13 04:57:28 -0500 |
|---|---|---|
| committer | Jacob Pratt <jacob@jhpratt.dev> | 2021-01-13 04:57:28 -0500 |
| commit | 265e03332bfe66ec3f376f81b09810e7a5c780a4 (patch) | |
| tree | 68186451e3dd417545a1a17db243be653220d971 /src | |
| parent | 7a9b552cb1621c9c57898d147228aab32b65a7c3 (diff) | |
| download | rust-265e03332bfe66ec3f376f81b09810e7a5c780a4.tar.gz rust-265e03332bfe66ec3f376f81b09810e7a5c780a4.zip | |
Stabilize remaining integer methods as `const fn`
This includes the following functions: - i*::checked_div - i*::checked_div_euclid - i*::checked_rem - i*::checked_rem_euclid - i*::div_euclid - i*::overflowing_div - i*::overflowing_div_euclid - i*::overflowing_rem - i*::overflowing_rem_euclid - i*::rem_euclid - i*::wrapping_div - i*::wrapping_div_euclid - i*::wrapping_rem - i*::wrapping_rem_euclid - u*::checked_div - u*::checked_div_euclid - u*::checked_rem - u*::checked_rem_euclid - u*::div_euclid - u*::overflowing_div - u*::overflowing_div_euclid - u*::overflowing_rem - u*::overflowing_rem_euclid - u*::rem_euclid - u*::wrapping_div - u*::wrapping_div_euclid - u*::wrapping_rem - u*::wrapping_rem_euclid
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/consts/const-int-arithmetic.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/ui/consts/const-int-arithmetic.rs b/src/test/ui/consts/const-int-arithmetic.rs index e0d722ede94..b9096648f92 100644 --- a/src/test/ui/consts/const-int-arithmetic.rs +++ b/src/test/ui/consts/const-int-arithmetic.rs @@ -1,10 +1,5 @@ // run-pass -#![feature(const_checked_int_methods)] -#![feature(const_euclidean_int_methods)] -#![feature(const_overflowing_int_methods)] -#![feature(const_wrapping_int_methods)] - macro_rules! suite { ($( $fn:ident -> $ty:ty { $( $label:ident : $expr:expr, $result:expr; )* } |
