diff options
author | notkild <notkild@gmail.com> | 2017-02-06 09:21:06 +0100 |
---|---|---|
committer | notkild <notkild@gmail.com> | 2017-02-06 09:21:06 +0100 |
commit | 0143eb6a53fdf77e6d11b5d714501db2667b3ee2 (patch) | |
tree | 3992cbedadd71bfa1e76f7ba1814b50526bb9230 /ale_linters/rust/cargo.vim | |
parent | 744d7d789f859b70ea5981377600678c0ff4f6c2 (diff) | |
download | ale-0143eb6a53fdf77e6d11b5d714501db2667b3ee2.zip |
Fix rust linting with cargo when multiple targets are present
Diffstat (limited to 'ale_linters/rust/cargo.vim')
-rw-r--r-- | ale_linters/rust/cargo.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/rust/cargo.vim b/ale_linters/rust/cargo.vim index 738821d7..8c782656 100644 --- a/ale_linters/rust/cargo.vim +++ b/ale_linters/rust/cargo.vim @@ -15,7 +15,7 @@ endfunction call ale#linter#Define('rust', { \ 'name': 'cargo', \ 'executable_callback': 'ale_linters#rust#cargo#GetCargoExecutable', -\ 'command': 'cargo rustc -- --error-format=json -Z no-trans', +\ 'command': 'cargo build --message-format=json -q', \ 'callback': 'ale_linters#rust#rustc#HandleRustcErrors', -\ 'output_stream': 'stderr', +\ 'output_stream': 'stdout', \}) |