diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2019-10-23 15:34:24 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2019-10-23 15:35:36 +0200 |
| commit | f7ebe193389b4c63d9c93d79fff59568985e1763 (patch) | |
| tree | c5fe8c00546fdf19f698551c5ec3d90a50acdc10 /src/libcore | |
| parent | 7472cd46aa6c004568d12a71ecd90c9c45b69fb0 (diff) | |
Add tracking issue for the `matches!` macro
https://github.com/rust-lang/rust/issues/65721
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/macros.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index f2775ffa7ca..6e19878ef17 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -252,7 +252,7 @@ macro_rules! debug_assert_ne { /// assert!(matches!(bar, Some(x) if x > 2)); /// ``` #[macro_export] -#[unstable(feature = "matches_macro", issue = "0")] +#[unstable(feature = "matches_macro", issue = "65721")] macro_rules! matches { ($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )?) => { match $expression { |
