File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -347,3 +347,15 @@ macro lex_err($kind: ident $(, $body: expr)*) {
347
347
// Preserve trailing comma on item-level macro with `()` or `[]`.
348
348
methods ! [ get, post, delete, ] ;
349
349
methods ! ( get, post, delete, ) ;
350
+
351
+ // #2591
352
+ fn foo ( ) {
353
+ match 0u32 {
354
+ 0 => ( ) ,
355
+ _ => unreachable ! ( /* obviously */ ) ,
356
+ }
357
+ }
358
+
359
+ fn foo ( ) {
360
+ let _ = column ! ( /* here */ ) ;
361
+ }
Original file line number Diff line number Diff line change @@ -922,3 +922,15 @@ macro lex_err($kind: ident $(, $body: expr)*) {
922
922
// Preserve trailing comma on item-level macro with `()` or `[]`.
923
923
methods ! [ get, post, delete, ] ;
924
924
methods ! ( get, post, delete, ) ;
925
+
926
+ // #2591
927
+ fn foo ( ) {
928
+ match 0u32 {
929
+ 0 => ( ) ,
930
+ _ => unreachable ! ( /* obviously */ ) ,
931
+ }
932
+ }
933
+
934
+ fn foo ( ) {
935
+ let _ = column ! ( /* here */ ) ;
936
+ }
You can’t perform that action at this time.
0 commit comments