2020-01-23 13:10:43 -06:00
|
|
|
// 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.
|
2020-10-24 18:21:40 -05:00
|
|
|
#![allow(deprecated, deprecated_in_future)]
|
2020-01-23 13:10:43 -06:00
|
|
|
use std::{u16, f32};
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let _ = u16::MAX;
|
|
|
|
let _ = f32::EPSILON;
|
|
|
|
let _ = std::f64::MANTISSA_DIGITS;
|
|
|
|
}
|