Skip to content

Commit

Permalink
remove unstable options from clippy command
Browse files Browse the repository at this point in the history
This patch removes the `-Zunstable-options` from the default args for
the clippy command.  According to rust-lang/rust-clippy#4612, this
work around is no longer needed.

Fixes: kwrooijen#125

Signed-off-by: Curt Brune <curt@brune.net>
  • Loading branch information
cbrune committed Mar 10, 2022
1 parent a500fd2 commit 2f86fab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cargo-process.el
Expand Up @@ -178,8 +178,7 @@
"Subcommand used by `cargo-process-check'."
:type 'string)

(defcustom cargo-process--command-clippy "clippy -Zunstable-options"
"Subcommand used by `cargo-process-clippy'. Uses `-Zunstable-options` to work around https://github.com/rust-lang/rust-clippy/issues/4612."
(defcustom cargo-process--command-clippy "clippy"
:type 'string)

(defcustom cargo-process--command-add "add"
Expand Down

0 comments on commit 2f86fab

Please sign in to comment.