about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2019-07-15 17:42:08 +0000
committerLzu Tao <taolzu@gmail.com>2019-08-09 02:29:44 +0000
commit90fa7901b98367d04857cb96366b2eedf70693e2 (patch)
treeedea7791ab18e5f905b2dbe0aca47f88dc58b66b /src/libstd/lib.rs
parentfd7ac6b17ef98f63438f59edca40562c400d4128 (diff)
downloadrust-90fa7901b98367d04857cb96366b2eedf70693e2.tar.gz
rust-90fa7901b98367d04857cb96366b2eedf70693e2.zip
Postpone deprecating try! until 1.39.0
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 34956fc8394..54abf72d307 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -331,7 +331,8 @@ use prelude::v1::*;
 pub use core::{assert_eq, assert_ne, debug_assert, debug_assert_eq, debug_assert_ne};
 #[stable(feature = "rust1", since = "1.0.0")]
 pub use core::{unreachable, unimplemented, write, writeln, todo};
-#[allow(deprecated)]
+// FIXME: change this to `#[allow(deprecated)]` when we update nightly compiler.
+#[allow(deprecated_in_future)]
 #[stable(feature = "rust1", since = "1.0.0")]
 pub use core::r#try;