summaryrefslogtreecommitdiff
path: root/ale_linters/rust
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-02-07 15:19:37 +0000
committerw0rp <devw0rp@gmail.com>2017-02-07 15:19:37 +0000
commitc0ac393297c2ebe43f3beb57a46b0ac1a451671e (patch)
treed3cdea823a483540f0b0c3cbfe2ac4d2ee50837c /ale_linters/rust
parentda8408501c8bb82fb99627b7d0eba41e38146a46 (diff)
downloadale-c0ac393297c2ebe43f3beb57a46b0ac1a451671e.zip
#256 Attempt to fix Rust linter issues again
Diffstat (limited to 'ale_linters/rust')
-rw-r--r--ale_linters/rust/rustc.vim2
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