diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-03-04 21:33:31 +0100 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2021-03-04 21:33:31 +0100 |
| commit | 80fcdef3b53c43f3d7bace1db3e3ef9ffebd757e (patch) | |
| tree | 9758a5ceea8fdebab3ecd89ed15825cac86494ca | |
| parent | f223affd7ae383816a038700d591d78bebd98d46 (diff) | |
| download | rust-80fcdef3b53c43f3d7bace1db3e3ef9ffebd757e.tar.gz rust-80fcdef3b53c43f3d7bace1db3e3ef9ffebd757e.zip | |
Add tracking issue for assert_matches.
| -rw-r--r-- | library/core/src/macros/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs index fb43433a794..3e70ba81d49 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)*); }) |
