add clippy to CI (#9694)

* Focus on correctness lints. This relies on a compiler patch that landed 8th July 2021.
If people are using an earlier version of the compiler everything will still work unless they try and run clippy.

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
This commit is contained in:
authored and GitHub committed 2021-10-03 17:09:26 +01:00
1 parent 06c4e20992
commit c9410186f1
7 files changed
+36 -11

No files matched your search

@@ -304,7 +304,7 @@ pub fn create_wasm_runtime_with_code(
//
// We drop the cache_path here to silence warnings that cache_path is not used if
// compiling without the `wasmtime` flag.
drop(cache_path);
let _ = cache_path;
sc_executor_wasmi::create_runtime(
blob,