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};
1818
1919/// Basic mathematical constants.
2020#[ unstable( feature = "f128" , issue = "116909" ) ]
21+ #[ rustc_diagnostic_item = "f128_consts_mod" ]
2122pub mod consts {
2223 // FIXME: replace with mathematical constants from cmath.
2324
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ use crate::{intrinsics, mem};
2020
2121/// Basic mathematical constants.
2222#[ unstable( feature = "f16" , issue = "116909" ) ]
23+ #[ rustc_diagnostic_item = "f16_consts_mod" ]
2324pub mod consts {
2425 // FIXME: replace with mathematical constants from cmath.
2526
Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ pub const NEG_INFINITY: f32 = f32::NEG_INFINITY;
277277
278278/// Basic mathematical constants.
279279#[ stable( feature = "rust1" , since = "1.0.0" ) ]
280+ #[ rustc_diagnostic_item = "f32_consts_mod" ]
280281pub mod consts {
281282 // FIXME: replace with mathematical constants from cmath.
282283
Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ pub const NEG_INFINITY: f64 = f64::NEG_INFINITY;
277277
278278/// Basic mathematical constants.
279279#[ stable( feature = "rust1" , since = "1.0.0" ) ]
280+ #[ rustc_diagnostic_item = "f64_consts_mod" ]
280281pub mod consts {
281282 // FIXME: replace with mathematical constants from cmath.
282283
You can’t perform that action at this time.
0 commit comments