]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/use-module-level-int-consts.rs
Update tests to remove old numeric constants
[rust.git] / src / test / ui / use-module-level-int-consts.rs
index 758fb414eadf2dbcb2c49fd0af66539476ae6844..200f742d771f552a66454fb3f500cab1fc3fd049 100644 (file)
@@ -2,6 +2,7 @@
 
 // Make sure the module level constants are still there and accessible even after
 // the corresponding associated constants have been added, and later stabilized.
+#![allow(deprecated, deprecated_in_future)]
 use std::{u16, f32};
 
 fn main() {