From 80fcdef3b53c43f3d7bace1db3e3ef9ffebd757e Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Thu, 4 Mar 2021 21:33:31 +0100 Subject: [PATCH] Add tracking issue for assert_matches. --- library/core/src/macros/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs index fb43433a79465..3e70ba81d4997 100644 --- a/library/core/src/macros/mod.rs +++ b/library/core/src/macros/mod.rs @@ -135,7 +135,7 @@ macro_rules! assert_ne { /// assert_matches!(c, Ok(x) | Err(x) if x.len() < 100); /// ``` #[macro_export] -#[unstable(feature = "assert_matches", issue = "none")] +#[unstable(feature = "assert_matches", issue = "82775")] #[allow_internal_unstable(core_panic)] macro_rules! assert_matches { ($left:expr, $( $pattern:pat )|+ $( if $guard: expr )? $(,)?) => ({ @@ -292,7 +292,7 @@ macro_rules! debug_assert_ne { /// debug_assert_matches!(c, Ok(x) | Err(x) if x.len() < 100); /// ``` #[macro_export] -#[unstable(feature = "assert_matches", issue = "none")] +#[unstable(feature = "assert_matches", issue = "82775")] #[allow_internal_unstable(assert_matches)] macro_rules! debug_assert_matches { ($($arg:tt)*) => (if $crate::cfg!(debug_assertions) { $crate::assert_matches!($($arg)*); })