Rename record_field_pat to record_pat_field

This commit is contained in:
Pavan Kumar Sunkara 2020-09-05 03:06:05 +02:00
parent 5c336e266f
commit 4d97f5f037
10 changed files with 17 additions and 17 deletions

View file

@ -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 } = ();