about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorDaniel Campbell <campbelldj@hotmail.com>2015-12-15 17:31:54 +1300
committerDaniel Campbell <campbelldj@hotmail.com>2015-12-15 17:41:03 +1300
commit2dcd791d46523e75da5c594033383e90c08d4ae3 (patch)
tree2ae5f9940e4d426f20de10d44ef13324a3885d50 /src/libsyntax/parse
parent9267a3a22250ac225b94e6e150590307d764b2f9 (diff)
downloadrust-2dcd791d46523e75da5c594033383e90c08d4ae3.tar.gz
rust-2dcd791d46523e75da5c594033383e90c08d4ae3.zip
Generated code spans now point to callsite parameters (where applicable)
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/token.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index 17b7d8dbaec..b942954c187 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -377,7 +377,7 @@ pub enum Nonterminal {
     NtPat(P<ast::Pat>),
     NtExpr(P<ast::Expr>),
     NtTy(P<ast::Ty>),
-    NtIdent(Box<ast::Ident>, IdentStyle),
+    NtIdent(Box<ast::SpannedIdent>, IdentStyle),
     /// Stuff inside brackets for attributes
     NtMeta(P<ast::MetaItem>),
     NtPath(Box<ast::Path>),