#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)
|
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
|
let l:error = l:error.message
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user