about summary refs log tree commit diff
path: root/src/test/rustdoc/show-const-contents.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/show-const-contents.rs')
-rw-r--r--src/test/rustdoc/show-const-contents.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/rustdoc/show-const-contents.rs b/src/test/rustdoc/show-const-contents.rs
index 814339e198f..f5a356bcae6 100644
--- a/src/test/rustdoc/show-const-contents.rs
+++ b/src/test/rustdoc/show-const-contents.rs
@@ -52,6 +52,7 @@ pub const MY_TYPE_WITH_STR: MyTypeWithStr = MyTypeWithStr("show this");
 pub use std::f32::consts::PI;
 
 // @has show_const_contents/constant.MAX.html '= i32::MAX; // 2_147_483_647i32'
+#[allow(deprecated, deprecated_in_future)]
 pub use std::i32::MAX;
 
 macro_rules! int_module {