Skip to content

Commit 57f13d7

Browse files
committed
---
yaml --- r: 152850 b: refs/heads/try2 c: d2adb7c h: refs/heads/master v: v3
1 parent 20bb1d3 commit 57f13d7

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 26b5347310f8e07dba695f857821d08b7deca208
8+
refs/heads/try2: d2adb7cf81f565bdacd45190aac5e53cc2e04ea6
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/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)