mirror of
https://github.com/dense-analysis/ale
synced 2024-12-26 08:02:25 +00:00
#256 Attempt to fix Rust linter issues again
This commit is contained in:
parent
da8408501c
commit
c0ac393297
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user