about summary refs log tree commit diff
path: root/src/libcore
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/libcore
parentfd7ac6b17ef98f63438f59edca40562c400d4128 (diff)
downloadrust-90fa7901b98367d04857cb96366b2eedf70693e2.tar.gz
rust-90fa7901b98367d04857cb96366b2eedf70693e2.zip
Postpone deprecating try! until 1.39.0
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs
index ba641f7dc5c..aa661078e71 100644
--- a/src/libcore/macros.rs
+++ b/src/libcore/macros.rs
@@ -300,9 +300,9 @@ macro_rules! debug_assert_ne {
 ///     Ok(())
 /// }
 /// ```
-#[rustc_deprecated(since = "1.38.0", reason = "use the `?` operator instead")]
 #[macro_export]
 #[stable(feature = "rust1", since = "1.0.0")]
+#[rustc_deprecated(since = "1.39.0", reason = "use the `?` operator instead")]
 #[doc(alias = "?")]
 macro_rules! r#try {
     ($expr:expr) => (match $expr {