mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Align grammar for record patterns and literals
The grammar now looks like this [name_ref :] pat
This commit is contained in:
parent
6b49e774e2
commit
5e5eb6a108
18 changed files with 145 additions and 90 deletions
|
@ -18,8 +18,8 @@ use crate::{
|
|||
pub use self::{
|
||||
expr_extensions::{ArrayExprKind, BinOp, ElseBranch, LiteralKind, PrefixOp, RangeOp},
|
||||
extensions::{
|
||||
AttrKind, FieldKind, PathSegmentKind, SelfParamKind, SlicePatComponents, StructKind,
|
||||
TypeBoundKind, VisibilityKind,
|
||||
AttrKind, FieldKind, NameOrNameRef, PathSegmentKind, SelfParamKind, SlicePatComponents,
|
||||
StructKind, TypeBoundKind, VisibilityKind,
|
||||
},
|
||||
generated::{nodes::*, tokens::*},
|
||||
tokens::*,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue