@@ -1398,6 +1398,7 @@ impl f16 {
13981398// Functions in this module fall into `core_float_math`
13991399// #[unstable(feature = "core_float_math", issue = "137578")]
14001400#[ cfg( not( test) ) ]
1401+ #[ doc( test( attr( feature( cfg_target_has_reliable_f16_f128) , expect( internal_features) ) ) ) ]
14011402impl f16 {
14021403 /// Returns the largest integer less than or equal to `self`.
14031404 ///
@@ -1407,8 +1408,6 @@ impl f16 {
14071408 ///
14081409 /// ```
14091410 /// #![feature(f16)]
1410- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1411- /// # #![expect(internal_features)]
14121411 /// # #[cfg(not(miri))]
14131412 /// # #[cfg(target_has_reliable_f16_math)] {
14141413 ///
@@ -1440,8 +1439,6 @@ impl f16 {
14401439 ///
14411440 /// ```
14421441 /// #![feature(f16)]
1443- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1444- /// # #![expect(internal_features)]
14451442 /// # #[cfg(not(miri))]
14461443 /// # #[cfg(target_has_reliable_f16_math)] {
14471444 ///
@@ -1473,8 +1470,6 @@ impl f16 {
14731470 ///
14741471 /// ```
14751472 /// #![feature(f16)]
1476- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1477- /// # #![expect(internal_features)]
14781473 /// # #[cfg(not(miri))]
14791474 /// # #[cfg(target_has_reliable_f16_math)] {
14801475 ///
@@ -1511,8 +1506,6 @@ impl f16 {
15111506 ///
15121507 /// ```
15131508 /// #![feature(f16)]
1514- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1515- /// # #![expect(internal_features)]
15161509 /// # #[cfg(not(miri))]
15171510 /// # #[cfg(target_has_reliable_f16_math)] {
15181511 ///
@@ -1546,8 +1539,6 @@ impl f16 {
15461539 ///
15471540 /// ```
15481541 /// #![feature(f16)]
1549- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1550- /// # #![expect(internal_features)]
15511542 /// # #[cfg(not(miri))]
15521543 /// # #[cfg(target_has_reliable_f16_math)] {
15531544 ///
@@ -1580,8 +1571,6 @@ impl f16 {
15801571 ///
15811572 /// ```
15821573 /// #![feature(f16)]
1583- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1584- /// # #![expect(internal_features)]
15851574 /// # #[cfg(not(miri))]
15861575 /// # #[cfg(target_has_reliable_f16_math)] {
15871576 ///
@@ -1622,8 +1611,6 @@ impl f16 {
16221611 ///
16231612 /// ```
16241613 /// #![feature(f16)]
1625- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1626- /// # #![expect(internal_features)]
16271614 /// # #[cfg(not(miri))]
16281615 /// # #[cfg(target_has_reliable_f16_math)] {
16291616 ///
@@ -1670,8 +1657,6 @@ impl f16 {
16701657 ///
16711658 /// ```
16721659 /// #![feature(f16)]
1673- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1674- /// # #![expect(internal_features)]
16751660 /// # #[cfg(not(miri))]
16761661 /// # #[cfg(target_has_reliable_f16_math)] {
16771662 ///
@@ -1715,8 +1700,6 @@ impl f16 {
17151700 ///
17161701 /// ```
17171702 /// #![feature(f16)]
1718- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1719- /// # #![expect(internal_features)]
17201703 /// # #[cfg(not(miri))]
17211704 /// # #[cfg(target_has_reliable_f16_math)] {
17221705 ///
@@ -1755,8 +1738,6 @@ impl f16 {
17551738 ///
17561739 /// ```
17571740 /// #![feature(f16)]
1758- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1759- /// # #![expect(internal_features)]
17601741 /// # #[cfg(not(miri))]
17611742 /// # #[cfg(target_has_reliable_f16_math)] {
17621743 ///
@@ -1790,8 +1771,6 @@ impl f16 {
17901771 ///
17911772 /// ```
17921773 /// #![feature(f16)]
1793- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1794- /// # #![expect(internal_features)]
17951774 /// # #[cfg(not(miri))]
17961775 /// # #[cfg(target_has_reliable_f16_math)] {
17971776 ///
@@ -1828,8 +1807,6 @@ impl f16 {
18281807 ///
18291808 /// ```
18301809 /// #![feature(f16)]
1831- /// # #![feature(cfg_target_has_reliable_f16_f128)]
1832- /// # #![expect(internal_features)]
18331810 /// # #[cfg(not(miri))]
18341811 /// # #[cfg(target_has_reliable_f16_math)] {
18351812 ///
0 commit comments