mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-26 05:51:08 +08:00
Include location list end column for rust lint (#602)
* Include location list end column for rust lint Fixes #599. * Include rust lint end_lnum for good measure * Reverse engineer end_* for rust lint tests
This commit is contained in:
@@ -3,14 +3,18 @@ Execute(The Rust handler should handle rustc output):
|
||||
\ [
|
||||
\ {
|
||||
\ 'lnum': 15,
|
||||
\ 'end_lnum': 15,
|
||||
\ 'type': 'E',
|
||||
\ 'col': 418,
|
||||
\ 'end_col': 421,
|
||||
\ 'text': 'expected one of `.`, `;`, `?`, `}`, or an operator, found `for`',
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 13,
|
||||
\ 'end_lnum': 13,
|
||||
\ 'type': 'E',
|
||||
\ 'col': 407,
|
||||
\ 'end_col': 410,
|
||||
\ 'text': 'no method named `wat` found for type `std::string::String` in the current scope',
|
||||
\ },
|
||||
\ ],
|
||||
@@ -28,14 +32,18 @@ Execute(The Rust handler should handle cargo output):
|
||||
\ [
|
||||
\ {
|
||||
\ 'lnum': 15,
|
||||
\ 'end_lnum': 15,
|
||||
\ 'type': 'E',
|
||||
\ 'col': 11505,
|
||||
\ 'end_col': 11508,
|
||||
\ 'text': 'expected one of `.`, `;`, `?`, `}`, or an operator, found `for`',
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 13,
|
||||
\ 'end_lnum': 13,
|
||||
\ 'type': 'E',
|
||||
\ 'col': 11494,
|
||||
\ 'end_col': 11497,
|
||||
\ 'text': 'no method named `wat` found for type `std::string::String` in the current scope',
|
||||
\ },
|
||||
\ ],
|
||||
|
||||
Reference in New Issue
Block a user