mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-21 04:03:11 +00:00
parent
2e7d1a1184
commit
2c7e737a06
@ -347,3 +347,15 @@ macro lex_err($kind: ident $(, $body: expr)*) {
|
||||
// Preserve trailing comma on item-level macro with `()` or `[]`.
|
||||
methods![ get, post, delete, ];
|
||||
methods!( get, post, delete, );
|
||||
|
||||
// #2591
|
||||
fn foo() {
|
||||
match 0u32 {
|
||||
0 => (),
|
||||
_ => unreachable!(/* obviously */),
|
||||
}
|
||||
}
|
||||
|
||||
fn foo() {
|
||||
let _ = column!(/* here */);
|
||||
}
|
||||
|
@ -922,3 +922,15 @@ macro lex_err($kind: ident $(, $body: expr)*) {
|
||||
// Preserve trailing comma on item-level macro with `()` or `[]`.
|
||||
methods![get, post, delete,];
|
||||
methods!(get, post, delete,);
|
||||
|
||||
// #2591
|
||||
fn foo() {
|
||||
match 0u32 {
|
||||
0 => (),
|
||||
_ => unreachable!(/* obviously */),
|
||||
}
|
||||
}
|
||||
|
||||
fn foo() {
|
||||
let _ = column!(/* here */);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user