]> git.lizzy.rs Git - rust.git/blob - src/test/ui/use-module-level-int-consts.rs
758fb414eadf2dbcb2c49fd0af66539476ae6844
[rust.git] / src / test / ui / use-module-level-int-consts.rs
1 // run-pass
2
3 // Make sure the module level constants are still there and accessible even after
4 // the corresponding associated constants have been added, and later stabilized.
5 use std::{u16, f32};
6
7 fn main() {
8     let _ = u16::MAX;
9     let _ = f32::EPSILON;
10     let _ = std::f64::MANTISSA_DIGITS;
11 }