]> git.lizzy.rs Git - rust.git/blob - src/test/ui/use-module-level-int-consts.rs
Auto merge of #76160 - scileo:format-recovery, r=petrochenkov
[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 }