-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Fix off-by-one error in column number in explain_span
.
#42062
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
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Ordinarily, I'd say let's add a test, but I'm not sure it's worth it in this particular case, since I think those error messages are fairly fragile and likely to be changed. |
@bors r+ rollup |
📌 Commit f24b168 has been approved by |
Ok, turns out there were tests covering this. I'll push an update once I've fixed them all. |
f24b168
to
eb703f7
Compare
Okay, I've fixed the tests and amended the commit. |
@bors r= nikomatsakis |
📌 Commit eb703f7 has been approved by `` |
📌 Commit eb703f7 has been approved by |
…omatsakis Fix off-by-one error in column number in `explain_span`. Fixes rust-lang#41938
Fixes #41938