mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-02 04:48:13 +00:00
Parse patterns with leading pipe properly in all places
This commit is contained in:
parent
86a850d49e
commit
210ead8454
6 changed files with 73 additions and 16 deletions
|
|
@ -493,6 +493,10 @@ mod ok {
|
|||
run_and_expect_no_errors("test_data/parser/inline/ok/record_field_list.rs");
|
||||
}
|
||||
#[test]
|
||||
fn record_field_pat_leading_or() {
|
||||
run_and_expect_no_errors("test_data/parser/inline/ok/record_field_pat_leading_or.rs");
|
||||
}
|
||||
#[test]
|
||||
fn record_lit() { run_and_expect_no_errors("test_data/parser/inline/ok/record_lit.rs"); }
|
||||
#[test]
|
||||
fn record_literal_field_with_attr() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue