File tree Expand file tree Collapse file tree 5 files changed +8
-0
lines changed Expand file tree Collapse file tree 5 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -980,10 +980,12 @@ symbols! {
980
980
external_doc,
981
981
f,
982
982
f16,
983
+ f16_consts_mod,
983
984
f16_epsilon,
984
985
f16_nan,
985
986
f16c_target_feature,
986
987
f32 ,
988
+ f32_consts_mod,
987
989
f32_epsilon,
988
990
f32_legacy_const_digits,
989
991
f32_legacy_const_epsilon,
@@ -1001,6 +1003,7 @@ symbols! {
1001
1003
f32_legacy_const_radix,
1002
1004
f32_nan,
1003
1005
f64 ,
1006
+ f64_consts_mod,
1004
1007
f64_epsilon,
1005
1008
f64_legacy_const_digits,
1006
1009
f64_legacy_const_epsilon,
@@ -1018,6 +1021,7 @@ symbols! {
1018
1021
f64_legacy_const_radix,
1019
1022
f64_nan,
1020
1023
f128,
1024
+ f128_consts_mod,
1021
1025
f128_epsilon,
1022
1026
f128_nan,
1023
1027
fabsf16,
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ use crate::{intrinsics, mem};
18
18
19
19
/// Basic mathematical constants.
20
20
#[ unstable( feature = "f128" , issue = "116909" ) ]
21
+ #[ rustc_diagnostic_item = "f128_consts_mod" ]
21
22
pub mod consts {
22
23
// FIXME: replace with mathematical constants from cmath.
23
24
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ use crate::{intrinsics, mem};
20
20
21
21
/// Basic mathematical constants.
22
22
#[ unstable( feature = "f16" , issue = "116909" ) ]
23
+ #[ rustc_diagnostic_item = "f16_consts_mod" ]
23
24
pub mod consts {
24
25
// FIXME: replace with mathematical constants from cmath.
25
26
Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ pub const NEG_INFINITY: f32 = f32::NEG_INFINITY;
277
277
278
278
/// Basic mathematical constants.
279
279
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
280
+ #[ rustc_diagnostic_item = "f32_consts_mod" ]
280
281
pub mod consts {
281
282
// FIXME: replace with mathematical constants from cmath.
282
283
Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ pub const NEG_INFINITY: f64 = f64::NEG_INFINITY;
277
277
278
278
/// Basic mathematical constants.
279
279
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
280
+ #[ rustc_diagnostic_item = "f64_consts_mod" ]
280
281
pub mod consts {
281
282
// FIXME: replace with mathematical constants from cmath.
282
283
You can’t perform that action at this time.
0 commit comments