Skip to content

Commit 2e24b7f

Browse files
committed
remove no-longer-needed attribute
1 parent ffbcba0 commit 2e24b7f

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

core/src/num/f128.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1303,7 +1303,6 @@ impl f128 {
13031303
/// # }
13041304
/// ```
13051305
#[inline]
1306-
#[rustc_allow_incoherent_impl]
13071306
#[unstable(feature = "f128", issue = "116909")]
13081307
#[rustc_const_unstable(feature = "const_float_methods", issue = "130843")]
13091308
#[must_use = "method returns a new number and does not mutate the original value"]
@@ -1334,7 +1333,6 @@ impl f128 {
13341333
/// # }
13351334
/// ```
13361335
#[inline]
1337-
#[rustc_allow_incoherent_impl]
13381336
#[unstable(feature = "f128", issue = "116909")]
13391337
#[rustc_const_unstable(feature = "const_float_methods", issue = "130843")]
13401338
#[must_use = "method returns a new number and does not mutate the original value"]
@@ -1373,7 +1371,6 @@ impl f128 {
13731371
/// # }
13741372
/// ```
13751373
#[inline]
1376-
#[rustc_allow_incoherent_impl]
13771374
#[unstable(feature = "f128", issue = "116909")]
13781375
#[rustc_const_unstable(feature = "const_float_methods", issue = "130843")]
13791376
#[must_use = "method returns a new number and does not mutate the original value"]

core/src/num/f16.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,6 @@ impl f16 {
12781278
/// # }
12791279
/// ```
12801280
#[inline]
1281-
#[rustc_allow_incoherent_impl]
12821281
#[unstable(feature = "f16", issue = "116909")]
12831282
#[rustc_const_unstable(feature = "const_float_methods", issue = "130843")]
12841283
#[must_use = "method returns a new number and does not mutate the original value"]
@@ -1308,7 +1307,6 @@ impl f16 {
13081307
/// # }
13091308
/// ```
13101309
#[inline]
1311-
#[rustc_allow_incoherent_impl]
13121310
#[unstable(feature = "f16", issue = "116909")]
13131311
#[rustc_const_unstable(feature = "const_float_methods", issue = "130843")]
13141312
#[must_use = "method returns a new number and does not mutate the original value"]
@@ -1347,7 +1345,6 @@ impl f16 {
13471345
/// # }
13481346
/// ```
13491347
#[inline]
1350-
#[rustc_allow_incoherent_impl]
13511348
#[unstable(feature = "f16", issue = "116909")]
13521349
#[rustc_const_unstable(feature = "const_float_methods", issue = "130843")]
13531350
#[must_use = "method returns a new number and does not mutate the original value"]

core/src/num/f32.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,6 @@ impl f32 {
14431443
///
14441444
/// assert!(f32::NAN.abs().is_nan());
14451445
/// ```
1446-
#[rustc_allow_incoherent_impl]
14471446
#[must_use = "method returns a new number and does not mutate the original value"]
14481447
#[stable(feature = "rust1", since = "1.0.0")]
14491448
#[rustc_const_unstable(feature = "const_float_methods", issue = "130843")]
@@ -1469,7 +1468,6 @@ impl f32 {
14691468
///
14701469
/// assert!(f32::NAN.signum().is_nan());
14711470
/// ```
1472-
#[rustc_allow_incoherent_impl]
14731471
#[must_use = "method returns a new number and does not mutate the original value"]
14741472
#[stable(feature = "rust1", since = "1.0.0")]
14751473
#[rustc_const_unstable(feature = "const_float_methods", issue = "130843")]
@@ -1504,7 +1502,6 @@ impl f32 {
15041502
///
15051503
/// assert!(f32::NAN.copysign(1.0).is_nan());
15061504
/// ```
1507-
#[rustc_allow_incoherent_impl]
15081505
#[must_use = "method returns a new number and does not mutate the original value"]
15091506
#[inline]
15101507
#[stable(feature = "copysign", since = "1.35.0")]

core/src/num/f64.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,6 @@ impl f64 {
14431443
///
14441444
/// assert!(f64::NAN.abs().is_nan());
14451445
/// ```
1446-
#[rustc_allow_incoherent_impl]
14471446
#[must_use = "method returns a new number and does not mutate the original value"]
14481447
#[stable(feature = "rust1", since = "1.0.0")]
14491448
#[rustc_const_unstable(feature = "const_float_methods", issue = "130843")]
@@ -1469,7 +1468,6 @@ impl f64 {
14691468
///
14701469
/// assert!(f64::NAN.signum().is_nan());
14711470
/// ```
1472-
#[rustc_allow_incoherent_impl]
14731471
#[must_use = "method returns a new number and does not mutate the original value"]
14741472
#[stable(feature = "rust1", since = "1.0.0")]
14751473
#[rustc_const_unstable(feature = "const_float_methods", issue = "130843")]
@@ -1504,7 +1502,6 @@ impl f64 {
15041502
///
15051503
/// assert!(f64::NAN.copysign(1.0).is_nan());
15061504
/// ```
1507-
#[rustc_allow_incoherent_impl]
15081505
#[must_use = "method returns a new number and does not mutate the original value"]
15091506
#[stable(feature = "copysign", since = "1.35.0")]
15101507
#[rustc_const_unstable(feature = "const_float_methods", issue = "130843")]

0 commit comments

Comments
 (0)