Skip to content

Commit

Permalink
fix: force clippy to stable (alloy-rs#569)
Browse files Browse the repository at this point in the history
* fix: force clippy to stable

* fix: allow unknown_lints in benches
prestwich authored Mar 17, 2024
1 parent dca8b41 commit f1666fb
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo clippy --workspace --all-targets --all-features
- run: cargo +stable clippy --workspace --all-targets --all-features
env:
RUSTFLAGS: -Dwarnings

2 changes: 1 addition & 1 deletion crates/dyn-abi/benches/abi.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![allow(clippy::incompatible_msrv)]
#![allow(unknown_lints, clippy::incompatible_msrv)]

use alloy_dyn_abi::{DynSolType, DynSolValue};
use alloy_primitives::{hex, U256};
2 changes: 1 addition & 1 deletion crates/dyn-abi/benches/types.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![allow(clippy::incompatible_msrv)]
#![allow(unknown_lints, clippy::incompatible_msrv)]

use alloy_dyn_abi::{DynSolType, Specifier};
use alloy_sol_type_parser::TypeSpecifier;
2 changes: 1 addition & 1 deletion crates/json-abi/benches/json_abi.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![allow(clippy::incompatible_msrv)]
#![allow(unknown_lints, clippy::incompatible_msrv)]

use criterion::{
criterion_group, criterion_main, measurement::WallTime, BenchmarkGroup, Criterion,
2 changes: 1 addition & 1 deletion crates/primitives/benches/primitives.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![allow(clippy::incompatible_msrv)]
#![allow(unknown_lints, clippy::incompatible_msrv)]

use alloy_primitives::{keccak256, Address, B256};
use criterion::{criterion_group, criterion_main, Criterion};

0 comments on commit f1666fb

Please sign in to comment.