diff options
| author | Mark Mansi <markm@cs.wisc.edu> | 2018-03-16 20:15:56 -0500 |
|---|---|---|
| committer | Mark Mansi <markm@cs.wisc.edu> | 2018-03-26 08:37:56 -0500 |
| commit | db7d9ea480e16c7135c997f56b44d3c0a657cc9d (patch) | |
| tree | 53d11378eae87a1b1f56d9835aa69e410fc1b82b /src/libcore | |
| parent | 33d9d8e0c62e6eeb3c9406a251312c630c2b3596 (diff) | |
| download | rust-db7d9ea480e16c7135c997f56b44d3c0a657cc9d.tar.gz rust-db7d9ea480e16c7135c997f56b44d3c0a657cc9d.zip | |
Stabilize i128 feature too
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/num/i128.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/mod.rs | 11 |
2 files changed, 4 insertions, 11 deletions
diff --git a/src/libcore/num/i128.rs b/src/libcore/num/i128.rs index 04354e2e33f..989376d1ac2 100644 --- a/src/libcore/num/i128.rs +++ b/src/libcore/num/i128.rs @@ -12,6 +12,6 @@ //! //! *[See also the `i128` primitive type](../../std/primitive.i128.html).* -#![unstable(feature = "i128", issue="35118")] +#![stable(feature = "i128", since = "1.26.0")] -int_module! { i128, #[unstable(feature = "i128", issue="35118")] } +int_module! { i128, #[stable(feature = "i128", since="1.26.0")] } diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index 9ff42a6d4ea..66f7160827a 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -1635,10 +1635,7 @@ impl i64 { #[lang = "i128"] impl i128 { int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728, - 170141183460469231731687303715884105727, "#![feature(i128)] -# fn main() { -", " -# }" } + 170141183460469231731687303715884105727, "", "" } } #[cfg(target_pointer_width = "16")] @@ -3492,11 +3489,7 @@ impl u64 { #[lang = "u128"] impl u128 { - uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "#![feature(i128)] - -# fn main() { -", " -# }" } + uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "" } } #[cfg(target_pointer_width = "16")] |
