mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Centralize box
pattern tests in patterns.rs
This commit is contained in:
parent
1e991f2eaf
commit
83433cd1f0
3 changed files with 6 additions and 7 deletions
|
@ -414,8 +414,6 @@ 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