From 90fa7901b98367d04857cb96366b2eedf70693e2 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Mon, 15 Jul 2019 17:42:08 +0000 Subject: Postpone deprecating try! until 1.39.0 --- src/libcore/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcore') 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 { -- cgit 1.4.1-3-g733a5