Add tracking issue for the matches! macro

https://github.com/rust-lang/rust/issues/65721
This commit is contained in:
Simon Sapin 2019-10-23 15:34:24 +02:00
parent 7472cd46aa
commit f7ebe19338

View File

@ -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 {