mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Add test for nested box pattern
This commit is contained in:
parent
f3b320adf4
commit
3e14b16c4d
3 changed files with 51 additions and 12 deletions
|
@ -414,6 +414,8 @@ pub(crate) fn match_arm_list(p: &mut Parser) {
|
|||
// X | Y if Z => (),
|
||||
// | X | Y if Z => (),
|
||||
// | X => (),
|
||||
// box X => (),
|
||||
// Some(box X) => (),
|
||||
// };
|
||||
// }
|
||||
fn match_arm(p: &mut Parser) -> BlockLike {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue