@@ -1398,6 +1398,7 @@ impl f16 {
1398
1398
// Functions in this module fall into `core_float_math`
1399
1399
// #[unstable(feature = "core_float_math", issue = "137578")]
1400
1400
#[ cfg( not( test) ) ]
1401
+ #[ doc( test( attr( feature( cfg_target_has_reliable_f16_f128) , expect( internal_features) ) ) ) ]
1401
1402
impl f16 {
1402
1403
/// Returns the largest integer less than or equal to `self`.
1403
1404
///
@@ -1407,8 +1408,6 @@ impl f16 {
1407
1408
///
1408
1409
/// ```
1409
1410
/// #![feature(f16)]
1410
- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1411
- /// # #![expect(internal_features)]
1412
1411
/// # #[cfg(not(miri))]
1413
1412
/// # #[cfg(target_has_reliable_f16_math)] {
1414
1413
///
@@ -1440,8 +1439,6 @@ impl f16 {
1440
1439
///
1441
1440
/// ```
1442
1441
/// #![feature(f16)]
1443
- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1444
- /// # #![expect(internal_features)]
1445
1442
/// # #[cfg(not(miri))]
1446
1443
/// # #[cfg(target_has_reliable_f16_math)] {
1447
1444
///
@@ -1473,8 +1470,6 @@ impl f16 {
1473
1470
///
1474
1471
/// ```
1475
1472
/// #![feature(f16)]
1476
- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1477
- /// # #![expect(internal_features)]
1478
1473
/// # #[cfg(not(miri))]
1479
1474
/// # #[cfg(target_has_reliable_f16_math)] {
1480
1475
///
@@ -1511,8 +1506,6 @@ impl f16 {
1511
1506
///
1512
1507
/// ```
1513
1508
/// #![feature(f16)]
1514
- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1515
- /// # #![expect(internal_features)]
1516
1509
/// # #[cfg(not(miri))]
1517
1510
/// # #[cfg(target_has_reliable_f16_math)] {
1518
1511
///
@@ -1546,8 +1539,6 @@ impl f16 {
1546
1539
///
1547
1540
/// ```
1548
1541
/// #![feature(f16)]
1549
- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1550
- /// # #![expect(internal_features)]
1551
1542
/// # #[cfg(not(miri))]
1552
1543
/// # #[cfg(target_has_reliable_f16_math)] {
1553
1544
///
@@ -1580,8 +1571,6 @@ impl f16 {
1580
1571
///
1581
1572
/// ```
1582
1573
/// #![feature(f16)]
1583
- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1584
- /// # #![expect(internal_features)]
1585
1574
/// # #[cfg(not(miri))]
1586
1575
/// # #[cfg(target_has_reliable_f16_math)] {
1587
1576
///
@@ -1622,8 +1611,6 @@ impl f16 {
1622
1611
///
1623
1612
/// ```
1624
1613
/// #![feature(f16)]
1625
- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1626
- /// # #![expect(internal_features)]
1627
1614
/// # #[cfg(not(miri))]
1628
1615
/// # #[cfg(target_has_reliable_f16_math)] {
1629
1616
///
@@ -1670,8 +1657,6 @@ impl f16 {
1670
1657
///
1671
1658
/// ```
1672
1659
/// #![feature(f16)]
1673
- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1674
- /// # #![expect(internal_features)]
1675
1660
/// # #[cfg(not(miri))]
1676
1661
/// # #[cfg(target_has_reliable_f16_math)] {
1677
1662
///
@@ -1715,8 +1700,6 @@ impl f16 {
1715
1700
///
1716
1701
/// ```
1717
1702
/// #![feature(f16)]
1718
- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1719
- /// # #![expect(internal_features)]
1720
1703
/// # #[cfg(not(miri))]
1721
1704
/// # #[cfg(target_has_reliable_f16_math)] {
1722
1705
///
@@ -1755,8 +1738,6 @@ impl f16 {
1755
1738
///
1756
1739
/// ```
1757
1740
/// #![feature(f16)]
1758
- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1759
- /// # #![expect(internal_features)]
1760
1741
/// # #[cfg(not(miri))]
1761
1742
/// # #[cfg(target_has_reliable_f16_math)] {
1762
1743
///
@@ -1790,8 +1771,6 @@ impl f16 {
1790
1771
///
1791
1772
/// ```
1792
1773
/// #![feature(f16)]
1793
- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1794
- /// # #![expect(internal_features)]
1795
1774
/// # #[cfg(not(miri))]
1796
1775
/// # #[cfg(target_has_reliable_f16_math)] {
1797
1776
///
@@ -1828,8 +1807,6 @@ impl f16 {
1828
1807
///
1829
1808
/// ```
1830
1809
/// #![feature(f16)]
1831
- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1832
- /// # #![expect(internal_features)]
1833
1810
/// # #[cfg(not(miri))]
1834
1811
/// # #[cfg(target_has_reliable_f16_math)] {
1835
1812
///
0 commit comments