diff options
author | w0rp <devw0rp@gmail.com> | 2017-02-07 15:19:37 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-02-07 15:19:37 +0000 |
commit | c0ac393297c2ebe43f3beb57a46b0ac1a451671e (patch) | |
tree | d3cdea823a483540f0b0c3cbfe2ac4d2ee50837c /ale_linters/rust | |
parent | da8408501c8bb82fb99627b7d0eba41e38146a46 (diff) | |
download | ale-c0ac393297c2ebe43f3beb57a46b0ac1a451671e.zip |
#256 Attempt to fix Rust linter issues again
Diffstat (limited to 'ale_linters/rust')
-rw-r--r-- | ale_linters/rust/rustc.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/rust/rustc.vim b/ale_linters/rust/rustc.vim index c97c40e7..97d5d0bb 100644 --- a/ale_linters/rust/rustc.vim +++ b/ale_linters/rust/rustc.vim @@ -18,7 +18,7 @@ function! ale_linters#rust#rustc#HandleRustcErrors(buffer_number, errorlines) ab let l:error = json_decode(l:errorline) - if has_key(l:error, 'message') + if has_key(l:error, 'message') && type(l:error.message) == type({}) let l:error = l:error.message endif |