-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Bad span assigned to continue keyword #28105
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
Comments
bors
added a commit
that referenced
this issue
Aug 30, 2015
I’d say its the break span that’s more wrong here. The error message is about the label after all. |
I only used the labels to generate an error message which shows the span. Even without labels, the span is incorrect. I could agree that the highlighted part in the error message should not include the keyword, but that's an other issue in my mind. |
Oh indeed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The break expression span contains its keyword, but the one for continue does not: http://is.gd/phbWGX
cc https://github.com/nrc/rustfmt/issues/184
The text was updated successfully, but these errors were encountered: