File tree Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Expand file tree Collapse file tree 4 files changed +4
-0
lines changed 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