Skip to content

Commit ecb2284

Browse files
committed
Auto merge of #157906 - jhpratt:rollup-bEmwTXN, r=jhpratt
Rollup of 6 pull requests Successful merges: - #157899 (Update LLVM to 22.1.7) - #157029 (stabilize feature `float_algebraic`) - #157872 (`suspicious_double_ref_op`: report unadjusted return type) - #157877 (Stabilize `nonzero_from_str_radix`) - #157900 (Update intrinsics wrapping documentation) - #157904 (Add Alice Ryhl to libs review rotation)
2 parents b5d46ec + 111c2ea commit ecb2284

15 files changed

Lines changed: 87 additions & 62 deletions

File tree

compiler/rustc_lint/src/noop_method_call.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,19 +145,21 @@ impl<'tcx> LateLintPass<'tcx> for NoopMethodCall {
145145
},
146146
);
147147
} else {
148+
// Report the method call's return type before adjustments required by its parent.
149+
let unadjusted_expr_ty = cx.typeck_results().expr_ty(expr);
148150
match name {
149151
// If `type_of(x) == T` and `x.borrow()` is used to get `&T`,
150152
// then that should be allowed
151153
sym::noop_method_borrow => return,
152154
sym::noop_method_clone => cx.emit_span_lint(
153155
SUSPICIOUS_DOUBLE_REF_OP,
154156
span,
155-
SuspiciousDoubleRefCloneDiag { ty: expr_ty },
157+
SuspiciousDoubleRefCloneDiag { ty: unadjusted_expr_ty },
156158
),
157159
sym::noop_method_deref => cx.emit_span_lint(
158160
SUSPICIOUS_DOUBLE_REF_OP,
159161
span,
160-
SuspiciousDoubleRefDerefDiag { ty: expr_ty },
162+
SuspiciousDoubleRefDerefDiag { ty: unadjusted_expr_ty },
161163
),
162164
_ => return,
163165
}

library/core/src/intrinsics/mod.rs

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,34 +1621,39 @@ pub unsafe fn float_to_int_unchecked<Float: bounds::FloatPrimitive, Int: Copy>(v
16211621
/// Float addition that allows optimizations based on algebraic rules.
16221622
///
16231623
/// Stabilized as [`f16::algebraic_add`], [`f32::algebraic_add`], [`f64::algebraic_add`] and [`f128::algebraic_add`].
1624+
#[rustc_intrinsic_const_stable_indirect]
16241625
#[rustc_nounwind]
16251626
#[rustc_intrinsic]
16261627
pub const fn fadd_algebraic<T: bounds::FloatPrimitive>(a: T, b: T) -> T;
16271628

16281629
/// Float subtraction that allows optimizations based on algebraic rules.
16291630
///
16301631
/// Stabilized as [`f16::algebraic_sub`], [`f32::algebraic_sub`], [`f64::algebraic_sub`] and [`f128::algebraic_sub`].
1632+
#[rustc_intrinsic_const_stable_indirect]
16311633
#[rustc_nounwind]
16321634
#[rustc_intrinsic]
16331635
pub const fn fsub_algebraic<T: bounds::FloatPrimitive>(a: T, b: T) -> T;
16341636

16351637
/// Float multiplication that allows optimizations based on algebraic rules.
16361638
///
16371639
/// Stabilized as [`f16::algebraic_mul`], [`f32::algebraic_mul`], [`f64::algebraic_mul`] and [`f128::algebraic_mul`].
1640+
#[rustc_intrinsic_const_stable_indirect]
16381641
#[rustc_nounwind]
16391642
#[rustc_intrinsic]
16401643
pub const fn fmul_algebraic<T: bounds::FloatPrimitive>(a: T, b: T) -> T;
16411644

16421645
/// Float division that allows optimizations based on algebraic rules.
16431646
///
16441647
/// Stabilized as [`f16::algebraic_div`], [`f32::algebraic_div`], [`f64::algebraic_div`] and [`f128::algebraic_div`].
1648+
#[rustc_intrinsic_const_stable_indirect]
16451649
#[rustc_nounwind]
16461650
#[rustc_intrinsic]
16471651
pub const fn fdiv_algebraic<T: bounds::FloatPrimitive>(a: T, b: T) -> T;
16481652

16491653
/// Float remainder that allows optimizations based on algebraic rules.
16501654
///
16511655
/// Stabilized as [`f16::algebraic_rem`], [`f32::algebraic_rem`], [`f64::algebraic_rem`] and [`f128::algebraic_rem`].
1656+
#[rustc_intrinsic_const_stable_indirect]
16521657
#[rustc_nounwind]
16531658
#[rustc_intrinsic]
16541659
pub const fn frem_algebraic<T: bounds::FloatPrimitive>(a: T, b: T) -> T;
@@ -2054,7 +2059,8 @@ pub const fn rotate_right<T: [const] fallback::FunnelShift>(x: T, shift: u32) ->
20542059
unsafe { unchecked_funnel_shr(x, x, shift % (mem::size_of::<T>() as u32 * 8)) }
20552060
}
20562061

2057-
/// Returns (a + b) mod 2<sup>N</sup>, where N is the width of T in bits.
2062+
/// Wrapping (modular) addition. Computes `a + b`,
2063+
/// wrapping around at the boundary of the type.
20582064
///
20592065
/// Note that, unlike most intrinsics, this is safe to call;
20602066
/// it does not require an `unsafe` block.
@@ -2068,7 +2074,8 @@ pub const fn rotate_right<T: [const] fallback::FunnelShift>(x: T, shift: u32) ->
20682074
#[rustc_nounwind]
20692075
#[rustc_intrinsic]
20702076
pub const fn wrapping_add<T: Copy>(a: T, b: T) -> T;
2071-
/// Returns (a - b) mod 2<sup>N</sup>, where N is the width of T in bits.
2077+
/// Wrapping (modular) subtraction. Computes `a - b`,
2078+
/// wrapping around at the boundary of the type.
20722079
///
20732080
/// Note that, unlike most intrinsics, this is safe to call;
20742081
/// it does not require an `unsafe` block.
@@ -2082,7 +2089,8 @@ pub const fn wrapping_add<T: Copy>(a: T, b: T) -> T;
20822089
#[rustc_nounwind]
20832090
#[rustc_intrinsic]
20842091
pub const fn wrapping_sub<T: Copy>(a: T, b: T) -> T;
2085-
/// Returns (a * b) mod 2<sup>N</sup>, where N is the width of T in bits.
2092+
/// Wrapping (modular) multiplication. Computes `a *
2093+
/// b`, wrapping around at the boundary of the type.
20862094
///
20872095
/// Note that, unlike most intrinsics, this is safe to call;
20882096
/// it does not require an `unsafe` block.

library/core/src/num/f128.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,8 +1552,8 @@ impl f128 {
15521552
///
15531553
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15541554
#[must_use = "method returns a new number and does not mutate the original value"]
1555-
#[unstable(feature = "float_algebraic", issue = "136469")]
1556-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1555+
#[unstable(feature = "f128", issue = "116909")]
1556+
#[rustc_const_unstable(feature = "f128", issue = "116909")]
15571557
#[inline]
15581558
pub const fn algebraic_add(self, rhs: f128) -> f128 {
15591559
intrinsics::fadd_algebraic(self, rhs)
@@ -1563,8 +1563,8 @@ impl f128 {
15631563
///
15641564
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15651565
#[must_use = "method returns a new number and does not mutate the original value"]
1566-
#[unstable(feature = "float_algebraic", issue = "136469")]
1567-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1566+
#[unstable(feature = "f128", issue = "116909")]
1567+
#[rustc_const_unstable(feature = "f128", issue = "116909")]
15681568
#[inline]
15691569
pub const fn algebraic_sub(self, rhs: f128) -> f128 {
15701570
intrinsics::fsub_algebraic(self, rhs)
@@ -1574,8 +1574,8 @@ impl f128 {
15741574
///
15751575
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15761576
#[must_use = "method returns a new number and does not mutate the original value"]
1577-
#[unstable(feature = "float_algebraic", issue = "136469")]
1578-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1577+
#[unstable(feature = "f128", issue = "116909")]
1578+
#[rustc_const_unstable(feature = "f128", issue = "116909")]
15791579
#[inline]
15801580
pub const fn algebraic_mul(self, rhs: f128) -> f128 {
15811581
intrinsics::fmul_algebraic(self, rhs)
@@ -1585,8 +1585,8 @@ impl f128 {
15851585
///
15861586
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15871587
#[must_use = "method returns a new number and does not mutate the original value"]
1588-
#[unstable(feature = "float_algebraic", issue = "136469")]
1589-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1588+
#[unstable(feature = "f128", issue = "116909")]
1589+
#[rustc_const_unstable(feature = "f128", issue = "116909")]
15901590
#[inline]
15911591
pub const fn algebraic_div(self, rhs: f128) -> f128 {
15921592
intrinsics::fdiv_algebraic(self, rhs)
@@ -1596,8 +1596,8 @@ impl f128 {
15961596
///
15971597
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15981598
#[must_use = "method returns a new number and does not mutate the original value"]
1599-
#[unstable(feature = "float_algebraic", issue = "136469")]
1600-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1599+
#[unstable(feature = "f128", issue = "116909")]
1600+
#[rustc_const_unstable(feature = "f128", issue = "116909")]
16011601
#[inline]
16021602
pub const fn algebraic_rem(self, rhs: f128) -> f128 {
16031603
intrinsics::frem_algebraic(self, rhs)

library/core/src/num/f16.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,8 +1538,8 @@ impl f16 {
15381538
///
15391539
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15401540
#[must_use = "method returns a new number and does not mutate the original value"]
1541-
#[unstable(feature = "float_algebraic", issue = "136469")]
1542-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1541+
#[unstable(feature = "f16", issue = "116909")]
1542+
#[rustc_const_unstable(feature = "f16", issue = "116909")]
15431543
#[inline]
15441544
pub const fn algebraic_add(self, rhs: f16) -> f16 {
15451545
intrinsics::fadd_algebraic(self, rhs)
@@ -1549,8 +1549,8 @@ impl f16 {
15491549
///
15501550
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15511551
#[must_use = "method returns a new number and does not mutate the original value"]
1552-
#[unstable(feature = "float_algebraic", issue = "136469")]
1553-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1552+
#[unstable(feature = "f16", issue = "116909")]
1553+
#[rustc_const_unstable(feature = "f16", issue = "116909")]
15541554
#[inline]
15551555
pub const fn algebraic_sub(self, rhs: f16) -> f16 {
15561556
intrinsics::fsub_algebraic(self, rhs)
@@ -1560,8 +1560,8 @@ impl f16 {
15601560
///
15611561
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15621562
#[must_use = "method returns a new number and does not mutate the original value"]
1563-
#[unstable(feature = "float_algebraic", issue = "136469")]
1564-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1563+
#[unstable(feature = "f16", issue = "116909")]
1564+
#[rustc_const_unstable(feature = "f16", issue = "116909")]
15651565
#[inline]
15661566
pub const fn algebraic_mul(self, rhs: f16) -> f16 {
15671567
intrinsics::fmul_algebraic(self, rhs)
@@ -1571,8 +1571,8 @@ impl f16 {
15711571
///
15721572
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15731573
#[must_use = "method returns a new number and does not mutate the original value"]
1574-
#[unstable(feature = "float_algebraic", issue = "136469")]
1575-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1574+
#[unstable(feature = "f16", issue = "116909")]
1575+
#[rustc_const_unstable(feature = "f16", issue = "116909")]
15761576
#[inline]
15771577
pub const fn algebraic_div(self, rhs: f16) -> f16 {
15781578
intrinsics::fdiv_algebraic(self, rhs)
@@ -1582,8 +1582,8 @@ impl f16 {
15821582
///
15831583
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15841584
#[must_use = "method returns a new number and does not mutate the original value"]
1585-
#[unstable(feature = "float_algebraic", issue = "136469")]
1586-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1585+
#[unstable(feature = "f16", issue = "116909")]
1586+
#[rustc_const_unstable(feature = "f16", issue = "116909")]
15871587
#[inline]
15881588
pub const fn algebraic_rem(self, rhs: f16) -> f16 {
15891589
intrinsics::frem_algebraic(self, rhs)

library/core/src/num/f32.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,8 +1694,8 @@ impl f32 {
16941694
///
16951695
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
16961696
#[must_use = "method returns a new number and does not mutate the original value"]
1697-
#[unstable(feature = "float_algebraic", issue = "136469")]
1698-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1697+
#[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
1698+
#[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
16991699
#[inline]
17001700
pub const fn algebraic_add(self, rhs: f32) -> f32 {
17011701
intrinsics::fadd_algebraic(self, rhs)
@@ -1705,8 +1705,8 @@ impl f32 {
17051705
///
17061706
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
17071707
#[must_use = "method returns a new number and does not mutate the original value"]
1708-
#[unstable(feature = "float_algebraic", issue = "136469")]
1709-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1708+
#[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
1709+
#[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
17101710
#[inline]
17111711
pub const fn algebraic_sub(self, rhs: f32) -> f32 {
17121712
intrinsics::fsub_algebraic(self, rhs)
@@ -1716,8 +1716,8 @@ impl f32 {
17161716
///
17171717
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
17181718
#[must_use = "method returns a new number and does not mutate the original value"]
1719-
#[unstable(feature = "float_algebraic", issue = "136469")]
1720-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1719+
#[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
1720+
#[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
17211721
#[inline]
17221722
pub const fn algebraic_mul(self, rhs: f32) -> f32 {
17231723
intrinsics::fmul_algebraic(self, rhs)
@@ -1727,8 +1727,8 @@ impl f32 {
17271727
///
17281728
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
17291729
#[must_use = "method returns a new number and does not mutate the original value"]
1730-
#[unstable(feature = "float_algebraic", issue = "136469")]
1731-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1730+
#[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
1731+
#[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
17321732
#[inline]
17331733
pub const fn algebraic_div(self, rhs: f32) -> f32 {
17341734
intrinsics::fdiv_algebraic(self, rhs)
@@ -1738,8 +1738,8 @@ impl f32 {
17381738
///
17391739
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
17401740
#[must_use = "method returns a new number and does not mutate the original value"]
1741-
#[unstable(feature = "float_algebraic", issue = "136469")]
1742-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1741+
#[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
1742+
#[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
17431743
#[inline]
17441744
pub const fn algebraic_rem(self, rhs: f32) -> f32 {
17451745
intrinsics::frem_algebraic(self, rhs)

library/core/src/num/f64.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1674,8 +1674,8 @@ impl f64 {
16741674
///
16751675
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
16761676
#[must_use = "method returns a new number and does not mutate the original value"]
1677-
#[unstable(feature = "float_algebraic", issue = "136469")]
1678-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1677+
#[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
1678+
#[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
16791679
#[inline]
16801680
pub const fn algebraic_add(self, rhs: f64) -> f64 {
16811681
intrinsics::fadd_algebraic(self, rhs)
@@ -1685,8 +1685,8 @@ impl f64 {
16851685
///
16861686
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
16871687
#[must_use = "method returns a new number and does not mutate the original value"]
1688-
#[unstable(feature = "float_algebraic", issue = "136469")]
1689-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1688+
#[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
1689+
#[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
16901690
#[inline]
16911691
pub const fn algebraic_sub(self, rhs: f64) -> f64 {
16921692
intrinsics::fsub_algebraic(self, rhs)
@@ -1696,8 +1696,8 @@ impl f64 {
16961696
///
16971697
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
16981698
#[must_use = "method returns a new number and does not mutate the original value"]
1699-
#[unstable(feature = "float_algebraic", issue = "136469")]
1700-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1699+
#[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
1700+
#[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
17011701
#[inline]
17021702
pub const fn algebraic_mul(self, rhs: f64) -> f64 {
17031703
intrinsics::fmul_algebraic(self, rhs)
@@ -1707,8 +1707,8 @@ impl f64 {
17071707
///
17081708
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
17091709
#[must_use = "method returns a new number and does not mutate the original value"]
1710-
#[unstable(feature = "float_algebraic", issue = "136469")]
1711-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1710+
#[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
1711+
#[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
17121712
#[inline]
17131713
pub const fn algebraic_div(self, rhs: f64) -> f64 {
17141714
intrinsics::fdiv_algebraic(self, rhs)
@@ -1718,8 +1718,8 @@ impl f64 {
17181718
///
17191719
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
17201720
#[must_use = "method returns a new number and does not mutate the original value"]
1721-
#[unstable(feature = "float_algebraic", issue = "136469")]
1722-
#[rustc_const_unstable(feature = "float_algebraic", issue = "136469")]
1721+
#[stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
1722+
#[rustc_const_stable(feature = "float_algebraic", since = "CURRENT_RUSTC_VERSION")]
17231723
#[inline]
17241724
pub const fn algebraic_rem(self, rhs: f64) -> f64 {
17251725
intrinsics::frem_algebraic(self, rhs)

library/core/src/num/nonzero.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,8 +1374,6 @@ macro_rules! nonzero_integer {
13741374
/// # Examples
13751375
///
13761376
/// ```
1377-
/// #![feature(nonzero_from_str_radix)]
1378-
///
13791377
/// # use std::num::NonZero;
13801378
/// #
13811379
/// # fn main() { test().unwrap(); }
@@ -1388,13 +1386,12 @@ macro_rules! nonzero_integer {
13881386
/// Trailing space returns error:
13891387
///
13901388
/// ```
1391-
/// #![feature(nonzero_from_str_radix)]
1392-
///
13931389
/// # use std::num::NonZero;
13941390
/// #
13951391
#[doc = concat!("assert!(NonZero::<", stringify!($Int), ">::from_str_radix(\"1 \", 10).is_err());")]
13961392
/// ```
1397-
#[unstable(feature = "nonzero_from_str_radix", issue = "152193")]
1393+
#[stable(feature = "nonzero_from_str_radix", since = "CURRENT_RUSTC_VERSION")]
1394+
#[rustc_const_stable(feature = "nonzero_from_str_radix", since = "CURRENT_RUSTC_VERSION")]
13981395
#[inline]
13991396
pub const fn from_str_radix(src: &str, radix: u32) -> Result<Self, ParseIntError> {
14001397
Self::from_ascii_radix(src.as_bytes(), radix)

library/core/src/primitive_docs.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,6 @@ mod prim_f16 {}
13411341
/// For example:
13421342
///
13431343
/// ```
1344-
/// # #![feature(float_algebraic)]
13451344
/// # #![allow(unused_assignments)]
13461345
/// # let mut x: f32 = 0.0;
13471346
/// # let a: f32 = 1.0;
@@ -1360,7 +1359,7 @@ mod prim_f16 {}
13601359
/// # let b: f32 = 2.0;
13611360
/// # let c: f32 = 3.0;
13621361
/// # let d: f32 = 4.0;
1363-
/// x = a + b + c + d; // As written
1362+
/// x = ((a + b) + c) + d; // As written
13641363
/// x = (a + c) + (b + d); // Reordered to shorten critical path and enable vectorization
13651364
/// ```
13661365
#[stable(feature = "rust1", since = "1.0.0")]

library/coretests/tests/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
#![feature(extern_types)]
5454
#![feature(f16)]
5555
#![feature(f128)]
56-
#![feature(float_algebraic)]
5756
#![feature(float_exact_integer_constants)]
5857
#![feature(float_gamma)]
5958
#![feature(float_minimum_maximum)]
@@ -91,7 +90,6 @@
9190
#![feature(never_type)]
9291
#![feature(next_index)]
9392
#![feature(non_exhaustive_omitted_patterns_lint)]
94-
#![feature(nonzero_from_str_radix)]
9593
#![feature(num_internals)]
9694
#![feature(numfmt)]
9795
#![feature(one_sided_range)]

library/std/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@
340340
#![feature(exact_size_is_empty)]
341341
#![feature(exclusive_wrapper)]
342342
#![feature(extend_one)]
343-
#![feature(float_algebraic)]
344343
#![feature(float_gamma)]
345344
#![feature(float_minimum_maximum)]
346345
#![feature(fmt_internals)]

0 commit comments

Comments
 (0)