mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Rename record_field_pat to record_pat_field
This commit is contained in:
parent
5c336e266f
commit
4d97f5f037
10 changed files with 17 additions and 17 deletions
|
@ -188,7 +188,7 @@ fn tuple_pat_fields(p: &mut Parser) {
|
|||
p.expect(T![')']);
|
||||
}
|
||||
|
||||
// test record_field_pat_list
|
||||
// test record_pat_field_list
|
||||
// fn foo() {
|
||||
// let S {} = ();
|
||||
// let S { f, ref mut g } = ();
|
||||
|
@ -208,7 +208,7 @@ fn record_pat_field_list(p: &mut Parser) {
|
|||
c => {
|
||||
let m = p.start();
|
||||
match c {
|
||||
// test record_field_pat
|
||||
// test record_pat_field
|
||||
// fn foo() {
|
||||
// let S { 0: 1 } = ();
|
||||
// let S { x: 1 } = ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue