Skip to content

Commit 67c89dc

Browse files
paulstansiferalexcrichton
authored andcommitted
---
yaml --- r: 113397 b: refs/heads/snap-stage3 c: cdd5893 h: refs/heads/master i: 113395: ef8c338 v: v3
1 parent d37f715 commit 67c89dc

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: abdacecdf86b4b5a4f432560445a24e1c5f4751b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 0aae5574ea74e672029c17a5598bb2045ec022bd
4+
refs/heads/snap-stage3: cdd5893347bdec20f7da479d1ce469ed69e3922f
55
refs/heads/try: 7c6c492fb2af9a85f21ff952942df3523b22fd17
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libsyntax/parse/parser.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ macro_rules! maybe_whole_expr (
139139
INTERPOLATED(token::NtPath(ref pt)) => Some((**pt).clone()),
140140
_ => None,
141141
};
142-
let ret = match ($p).token {
142+
let found = match ($p).token {
143143
INTERPOLATED(token::NtExpr(e)) => {
144144
Some(e)
145145
}
@@ -149,7 +149,7 @@ macro_rules! maybe_whole_expr (
149149
}
150150
_ => None
151151
};
152-
match ret {
152+
match found {
153153
Some(e) => {
154154
$p.bump();
155155
return e;
@@ -164,13 +164,13 @@ macro_rules! maybe_whole_expr (
164164
macro_rules! maybe_whole (
165165
($p:expr, $constructor:ident) => (
166166
{
167-
let __found__ = match ($p).token {
167+
let found = match ($p).token {
168168
INTERPOLATED(token::$constructor(_)) => {
169169
Some(($p).bump_and_get())
170170
}
171171
_ => None
172172
};
173-
match __found__ {
173+
match found {
174174
Some(INTERPOLATED(token::$constructor(x))) => {
175175
return x.clone()
176176
}
@@ -180,13 +180,13 @@ macro_rules! maybe_whole (
180180
);
181181
(no_clone $p:expr, $constructor:ident) => (
182182
{
183-
let __found__ = match ($p).token {
183+
let found = match ($p).token {
184184
INTERPOLATED(token::$constructor(_)) => {
185185
Some(($p).bump_and_get())
186186
}
187187
_ => None
188188
};
189-
match __found__ {
189+
match found {
190190
Some(INTERPOLATED(token::$constructor(x))) => {
191191
return x
192192
}
@@ -196,13 +196,13 @@ macro_rules! maybe_whole (
196196
);
197197
(deref $p:expr, $constructor:ident) => (
198198
{
199-
let __found__ = match ($p).token {
199+
let found = match ($p).token {
200200
INTERPOLATED(token::$constructor(_)) => {
201201
Some(($p).bump_and_get())
202202
}
203203
_ => None
204204
};
205-
match __found__ {
205+
match found {
206206
Some(INTERPOLATED(token::$constructor(x))) => {
207207
return (*x).clone()
208208
}
@@ -212,13 +212,13 @@ macro_rules! maybe_whole (
212212
);
213213
(Some $p:expr, $constructor:ident) => (
214214
{
215-
let __found__ = match ($p).token {
215+
let found = match ($p).token {
216216
INTERPOLATED(token::$constructor(_)) => {
217217
Some(($p).bump_and_get())
218218
}
219219
_ => None
220220
};
221-
match __found__ {
221+
match found {
222222
Some(INTERPOLATED(token::$constructor(x))) => {
223223
return Some(x.clone()),
224224
}
@@ -228,13 +228,13 @@ macro_rules! maybe_whole (
228228
);
229229
(iovi $p:expr, $constructor:ident) => (
230230
{
231-
let __found__ = match ($p).token {
231+
let found = match ($p).token {
232232
INTERPOLATED(token::$constructor(_)) => {
233233
Some(($p).bump_and_get())
234234
}
235235
_ => None
236236
};
237-
match __found__ {
237+
match found {
238238
Some(INTERPOLATED(token::$constructor(x))) => {
239239
return IoviItem(x.clone())
240240
}
@@ -244,13 +244,13 @@ macro_rules! maybe_whole (
244244
);
245245
(pair_empty $p:expr, $constructor:ident) => (
246246
{
247-
let __found__ = match ($p).token {
247+
let found = match ($p).token {
248248
INTERPOLATED(token::$constructor(_)) => {
249249
Some(($p).bump_and_get())
250250
}
251251
_ => None
252252
};
253-
match __found__ {
253+
match found {
254254
Some(INTERPOLATED(token::$constructor(x))) => {
255255
return (Vec::new(), x)
256256
}

0 commit comments

Comments
 (0)