3 " Maintainer: Andrew Gallant <jamslam@gmail.com>
5 " See for details on how to add an external Syntastic checker:
6 " https://github.com/scrooloose/syntastic/wiki/Syntax-Checker-Guide#external
8 if exists("g:loaded_syntastic_rust_rustc_checker")
11 let g:loaded_syntastic_rust_rustc_checker = 1
16 function! SyntaxCheckers_rust_rustc_GetLocList() dict
17 let makeprg = self.makeprgBuild({ 'args': '--parse-only' })
20 \ '%E%f:%l:%c: %\d%#:%\d%# %.%\{-}error:%.%\{-} %m,' .
21 \ '%W%f:%l:%c: %\d%#:%\d%# %.%\{-}warning:%.%\{-} %m,' .
25 return SyntasticMake({
27 \ 'errorformat': errorformat })
30 call g:SyntasticRegistry.CreateAndRegisterChecker({