about summary refs log tree commit diff
path: root/src/test/ui/use-module-level-int-consts.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/use-module-level-int-consts.rs')
-rw-r--r--src/test/ui/use-module-level-int-consts.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/use-module-level-int-consts.rs b/src/test/ui/use-module-level-int-consts.rs
index 758fb414ead..200f742d771 100644
--- a/src/test/ui/use-module-level-int-consts.rs
+++ b/src/test/ui/use-module-level-int-consts.rs
@@ -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() {