Skip to content

Fix span of invalid metavariable repetition #27841

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 15, 2015
Merged

Fix span of invalid metavariable repetition #27841

merged 1 commit into from
Aug 15, 2015

Conversation

jonas-schievink
Copy link
Contributor

Current behaviour demo: http://is.gd/l3FEgo
(The span is printed at the start of the source code)

This patch moves the span to the use of $i in the macro rhs (as the code comment already claims)

@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @pnkfelix (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@alexcrichton
Copy link
Member

@bors: r+ 59f8e32

Thanks!

@bors
Copy link
Collaborator

bors commented Aug 15, 2015

⌛ Testing commit 59f8e32 with merge e859498...

bors added a commit that referenced this pull request Aug 15, 2015
…ichton

Current behaviour demo: http://is.gd/l3FEgo
(The span is printed at the start of the source code)

This patch moves the span to the use of `$i` in the macro rhs (as the code comment already claims)
@bors bors merged commit 59f8e32 into rust-lang:master Aug 15, 2015
@jonas-schievink jonas-schievink deleted the still-repeating-span branch December 26, 2015 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants