about summary refs log tree commit diff
path: root/src/test/ui/use-module-level-int-consts.rs
blob: 758fb414eadf2dbcb2c49fd0af66539476ae6844 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass

// Make sure the module level constants are still there and accessible even after
// the corresponding associated constants have been added, and later stabilized.
use std::{u16, f32};

fn main() {
    let _ = u16::MAX;
    let _ = f32::EPSILON;
    let _ = std::f64::MANTISSA_DIGITS;
}