summaryrefslogtreecommitdiff
path: root/ale_linters/rust/rustc.vim
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-08-12 09:41:36 +0100
committerGitHub <noreply@github.com>2018-08-12 09:41:36 +0100
commita88a6d5285d60b5d3a94106aeb1359433cd40e8b (patch)
treed31e04395c2651b69b637600d8444ae962be747d /ale_linters/rust/rustc.vim
parent6167f756280c6d4d10a5d6dc7453393588d90178 (diff)
parentdb003a4361613216f88b3525b37e34ed8e3019ab (diff)
downloadale-a88a6d5285d60b5d3a94106aeb1359433cd40e8b.zip
Merge pull request #1806 from jimenezrick/fix-rustc-linter
Fix #1684: Use the correct flag name in rustc linter
Diffstat (limited to 'ale_linters/rust/rustc.vim')
-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 3cd401b3..33fb72f4 100644
--- a/ale_linters/rust/rustc.vim
+++ b/ale_linters/rust/rustc.vim
@@ -1,7 +1,7 @@
" Author: Daniel Schemala <istjanichtzufassen@gmail.com>
" Description: rustc for rust files
-call ale#Set('rust_rustc_options', '-Z no-trans')
+call ale#Set('rust_rustc_options', '-Z no-codegen')
function! ale_linters#rust#rustc#RustcCommand(buffer) abort
" Try to guess the library search path. If the project is managed by cargo,