rustc: Improve span for error about using a method as a field.
libsyntax: ExprField now contains a SpannedIdent rather than Ident. [breaking-change]
This commit is contained in:
parent
051abae802
commit
9945052e64
15 changed files with 43 additions and 25 deletions
|
@ -464,7 +464,7 @@ pub enum Expr_ {
|
|||
|
||||
ExprAssign(Gc<Expr>, Gc<Expr>),
|
||||
ExprAssignOp(BinOp, Gc<Expr>, Gc<Expr>),
|
||||
ExprField(Gc<Expr>, Ident, Vec<P<Ty>>),
|
||||
ExprField(Gc<Expr>, SpannedIdent, Vec<P<Ty>>),
|
||||
ExprIndex(Gc<Expr>, Gc<Expr>),
|
||||
|
||||
/// Expression that looks like a "name". For example,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue