enabled clippy

This commit is contained in:
pca006132 2021-01-04 14:49:14 +08:00
parent dd29ae251a
commit 96317686af
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
#![warn(clippy::all)]
#![allow(clippy::clone_double_ref)]
extern crate num_bigint; extern crate num_bigint;
extern crate inkwell; extern crate inkwell;
extern crate rustpython_parser; extern crate rustpython_parser;

View File

@ -4,6 +4,6 @@ in
pkgs.stdenv.mkDerivation { pkgs.stdenv.mkDerivation {
name = "nac3-env"; name = "nac3-env";
buildInputs = with pkgs; [ buildInputs = with pkgs; [
llvm_10 clang_10 cargo rustc libffi libxml2 llvm_10 clang_10 cargo rustc libffi libxml2 clippy
]; ];
} }