about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorPaul Stansifer <paul.stansifer@gmail.com>2012-07-18 17:49:16 -0700
committerPaul Stansifer <paul.stansifer@gmail.com>2012-07-30 18:04:19 -0700
commitbe3b733c49a1aeb5b99eb55a943f563531e1fc45 (patch)
treef51bf556fef7f5b8fee5121fdc5df09314d2fbed /src/libsyntax
parente040ab8423b7ae74eeb2ee5d9b1f1da5256f59fd (diff)
downloadrust-be3b733c49a1aeb5b99eb55a943f563531e1fc45.tar.gz
rust-be3b733c49a1aeb5b99eb55a943f563531e1fc45.zip
Let's give that binder a name that's not incredibly confusing.
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ext/tt/transcribe.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/tt/transcribe.rs b/src/libsyntax/ext/tt/transcribe.rs
index b9d490e9e28..e400a2b8eca 100644
--- a/src/libsyntax/ext/tt/transcribe.rs
+++ b/src/libsyntax/ext/tt/transcribe.rs
@@ -225,8 +225,8 @@ fn tt_next_token(&&r: tt_reader) -> {tok: token, sp: span} {
                 r.cur.idx += 1u;
                 ret ret_val;
               }
-              matched_nonterminal(nt) {
-                r.cur_span = sp; r.cur_tok = INTERPOLATED(nt);
+              matched_nonterminal(other_whole_nt) {
+                r.cur_span = sp; r.cur_tok = INTERPOLATED(other_whole_nt);
                 r.cur.idx += 1u;
                 ret ret_val;
               }