Skip to content
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

set correct Rust span end column #2325

Merged
merged 1 commit into from
Mar 8, 2019
Merged

set correct Rust span end column #2325

merged 1 commit into from
Mar 8, 2019

Conversation

JeanMertz
Copy link
Contributor

The Rust compiler returns the first column that is not part of the
current span as column_end, while Ale expects end_col to signify
the last column of the span.

Compiler message

screenshot 2019-03-02 at 16 06 24

Ale (before)

screenshot 2019-03-02 at 16 06 06

Ale (after)

screenshot 2019-03-02 at 16 12 49

The Rust compiler returns the first column that is _not_ part of the
current span as `column_end`, while Ale expects `end_col` to signify
the last column of the span.
@w0rp w0rp merged commit be2c0c3 into dense-analysis:master Mar 8, 2019
@w0rp
Copy link
Member

w0rp commented Mar 8, 2019

Cheers! 🍻

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.

2 participants