Skip to content

Commit 6168e41

Browse files
committed
---
yaml --- r: 121489 b: refs/heads/master c: d2adb7c h: refs/heads/master i: 121487: 3c4d3ca v: v3
1 parent b1fe36d commit 6168e41

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 26b5347310f8e07dba695f857821d08b7deca208
2+
refs/heads/master: d2adb7cf81f565bdacd45190aac5e53cc2e04ea6
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: bab614f5fa725d248afc5f0530c835f37998ce8f
55
refs/heads/try: 1813e5aa1a03b0596b8de7abd1af31edf5d6098f

trunk/src/libsyntax/ext/expand.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ pub fn expand_expr(e: Gc<ast::Expr>, fld: &mut MacroExpander) -> Gc<ast::Expr> {
156156
// (The use of the `let` is to give better error messages
157157
// when the pattern is refutable.)
158158

159-
let local_ident = token::gensym_ident("__i"); // FIXME #13573
159+
let local_ident = token::gensym_ident("i");
160160
let next_ident = fld.cx.ident_of("next");
161161
let none_ident = fld.cx.ident_of("None");
162162

@@ -171,7 +171,8 @@ pub fn expand_expr(e: Gc<ast::Expr>, fld: &mut MacroExpander) -> Gc<ast::Expr> {
171171
};
172172

173173
// let <src_pat> = value;
174-
let value_ident = token::gensym_ident("__value");
174+
// use underscore to suppress lint error:
175+
let value_ident = token::gensym_ident("_value");
175176
// this is careful to use src_pat.span so that error
176177
// messages point exact at that.
177178
let local = box(GC) ast::Local {

0 commit comments

Comments
 (0)