@@ -1635,11 +1635,7 @@ impl i64 {
1635
1635
#[ lang = "i128" ]
1636
1636
impl i128 {
1637
1637
int_impl ! { i128 , i128 , u128 , 128 , -170141183460469231731687303715884105728 ,
1638
- 170141183460469231731687303715884105727 , "#![feature(i128_type)]
1639
- #![feature(i128)]
1640
- # fn main() {
1641
- " , "
1642
- # }" }
1638
+ 170141183460469231731687303715884105727 , "" , "" }
1643
1639
}
1644
1640
1645
1641
#[ cfg( target_pointer_width = "16" ) ]
@@ -3493,12 +3489,7 @@ impl u64 {
3493
3489
3494
3490
#[ lang = "u128" ]
3495
3491
impl u128 {
3496
- uint_impl ! { u128 , u128 , 128 , 340282366920938463463374607431768211455 , "#![feature(i128_type)]
3497
- #![feature(i128)]
3498
-
3499
- # fn main() {
3500
- " , "
3501
- # }" }
3492
+ uint_impl ! { u128 , u128 , 128 , 340282366920938463463374607431768211455 , "" , "" }
3502
3493
}
3503
3494
3504
3495
#[ cfg( target_pointer_width = "16" ) ]
@@ -4055,39 +4046,39 @@ macro_rules! impl_from {
4055
4046
impl_from ! { u8 , u16 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4056
4047
impl_from ! { u8 , u32 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4057
4048
impl_from ! { u8 , u64 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4058
- impl_from ! { u8 , u128 , #[ unstable ( feature = "i128" , issue = "35118 " ) ] }
4049
+ impl_from ! { u8 , u128 , #[ stable ( feature = "i128" , since = "1.26.0 " ) ] }
4059
4050
impl_from ! { u8 , usize , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4060
4051
impl_from ! { u16 , u32 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4061
4052
impl_from ! { u16 , u64 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4062
- impl_from ! { u16 , u128 , #[ unstable ( feature = "i128" , issue = "35118 " ) ] }
4053
+ impl_from ! { u16 , u128 , #[ stable ( feature = "i128" , since = "1.26.0 " ) ] }
4063
4054
impl_from ! { u32 , u64 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4064
- impl_from ! { u32 , u128 , #[ unstable ( feature = "i128" , issue = "35118 " ) ] }
4065
- impl_from ! { u64 , u128 , #[ unstable ( feature = "i128" , issue = "35118 " ) ] }
4055
+ impl_from ! { u32 , u128 , #[ stable ( feature = "i128" , since = "1.26.0 " ) ] }
4056
+ impl_from ! { u64 , u128 , #[ stable ( feature = "i128" , since = "1.26.0 " ) ] }
4066
4057
4067
4058
// Signed -> Signed
4068
4059
impl_from ! { i8 , i16 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4069
4060
impl_from ! { i8 , i32 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4070
4061
impl_from ! { i8 , i64 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4071
- impl_from ! { i8 , i128 , #[ unstable ( feature = "i128" , issue = "35118 " ) ] }
4062
+ impl_from ! { i8 , i128 , #[ stable ( feature = "i128" , since = "1.26.0 " ) ] }
4072
4063
impl_from ! { i8 , isize , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4073
4064
impl_from ! { i16 , i32 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4074
4065
impl_from ! { i16 , i64 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4075
- impl_from ! { i16 , i128 , #[ unstable ( feature = "i128" , issue = "35118 " ) ] }
4066
+ impl_from ! { i16 , i128 , #[ stable ( feature = "i128" , since = "1.26.0 " ) ] }
4076
4067
impl_from ! { i32 , i64 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4077
- impl_from ! { i32 , i128 , #[ unstable ( feature = "i128" , issue = "35118 " ) ] }
4078
- impl_from ! { i64 , i128 , #[ unstable ( feature = "i128" , issue = "35118 " ) ] }
4068
+ impl_from ! { i32 , i128 , #[ stable ( feature = "i128" , since = "1.26.0 " ) ] }
4069
+ impl_from ! { i64 , i128 , #[ stable ( feature = "i128" , since = "1.26.0 " ) ] }
4079
4070
4080
4071
// Unsigned -> Signed
4081
4072
impl_from ! { u8 , i16 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4082
4073
impl_from ! { u8 , i32 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4083
4074
impl_from ! { u8 , i64 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4084
- impl_from ! { u8 , i128 , #[ unstable ( feature = "i128" , issue = "35118 " ) ] }
4075
+ impl_from ! { u8 , i128 , #[ stable ( feature = "i128" , since = "1.26.0 " ) ] }
4085
4076
impl_from ! { u16 , i32 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4086
4077
impl_from ! { u16 , i64 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4087
- impl_from ! { u16 , i128 , #[ unstable ( feature = "i128" , issue = "35118 " ) ] }
4078
+ impl_from ! { u16 , i128 , #[ stable ( feature = "i128" , since = "1.26.0 " ) ] }
4088
4079
impl_from ! { u32 , i64 , #[ stable( feature = "lossless_int_conv" , since = "1.5.0" ) ] }
4089
- impl_from ! { u32 , i128 , #[ unstable ( feature = "i128" , issue = "35118 " ) ] }
4090
- impl_from ! { u64 , i128 , #[ unstable ( feature = "i128" , issue = "35118 " ) ] }
4080
+ impl_from ! { u32 , i128 , #[ stable ( feature = "i128" , since = "1.26.0 " ) ] }
4081
+ impl_from ! { u64 , i128 , #[ stable ( feature = "i128" , since = "1.26.0 " ) ] }
4091
4082
4092
4083
// Note: integers can only be represented with full precision in a float if
4093
4084
// they fit in the significand, which is 24 bits in f32 and 53 bits in f64.
0 commit comments