File tree Expand file tree Collapse file tree 5 files changed +1
-7
lines changed Expand file tree Collapse file tree 5 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -252,16 +252,14 @@ macro_rules! debug_assert_ne {
252252/// # Examples
253253///
254254/// ```
255- /// #![feature(matches_macro)]
256- ///
257255/// let foo = 'f';
258256/// assert!(matches!(foo, 'A'..='Z' | 'a'..='z'));
259257///
260258/// let bar = Some(4);
261259/// assert!(matches!(bar, Some(x) if x > 2));
262260/// ```
263261#[ macro_export]
264- #[ unstable ( feature = "matches_macro" , issue = "65721 " ) ]
262+ #[ stable ( feature = "matches_macro" , since = "1.42.0 " ) ]
265263macro_rules! matches {
266264 ( $expression: expr, $( $pattern: pat ) |+ $( if $guard: expr ) ?) => {
267265 match $expression {
Original file line number Diff line number Diff line change 1515#![ feature( box_patterns) ]
1616#![ feature( box_syntax) ]
1717#![ feature( nll) ]
18- #![ feature( matches_macro) ]
1918#![ recursion_limit = "256" ]
2019
2120#[ macro_use]
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ Rust MIR: a lowered representation of Rust. Also: an experiment!
2929#![ feature( range_is_empty) ]
3030#![ feature( stmt_expr_attributes) ]
3131#![ feature( trait_alias) ]
32- #![ feature( matches_macro) ]
3332#![ recursion_limit = "256" ]
3433
3534#[ macro_use]
Original file line number Diff line number Diff line change 277277#![ feature( linkage) ]
278278#![ feature( log_syntax) ]
279279#![ feature( manually_drop_take) ]
280- #![ feature( matches_macro) ]
281280#![ feature( maybe_uninit_ref) ]
282281#![ feature( maybe_uninit_slice) ]
283282#![ feature( needs_panic_runtime) ]
Original file line number Diff line number Diff line change 1111#![ feature( const_transmute) ]
1212#![ feature( crate_visibility_modifier) ]
1313#![ feature( label_break_value) ]
14- #![ feature( matches_macro) ]
1514#![ feature( nll) ]
1615#![ feature( try_trait) ]
1716#![ feature( slice_patterns) ]
You can’t perform that action at this time.
0 commit comments