Skip to content

Commit 84d9295

Browse files
authored
ci: allow the non-local variant of the semicolon-in-expressions lint in tests (#11141)
2 parents f44ce94 + acde0c8 commit 84d9295

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

tower-batch-control/tests/worker.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//! Fixed test cases for batch worker tasks.
22
3+
// `tokio-test`'s macro expansion trips this lint, and each toolchain knows only one of its two names: https://github.com/rust-lang/rust/issues/79813
4+
#![allow(unknown_lints)]
5+
#![allow(semicolon_in_expressions_from_macros)]
6+
#![allow(semicolon_in_expressions_from_non_local_macros)]
7+
38
use std::time::Duration;
49

510
use tokio_test::{assert_pending, assert_ready, assert_ready_err, task};

zebra-rpc/src/methods/tests/snapshot.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
//! cargo insta test --review --release -p zebra-rpc --lib -- test_rpc_response_data
66
//! ```
77
8+
// `insta`'s macro expansion trips this lint, and each toolchain knows only one of its two names: https://github.com/rust-lang/rust/issues/79813
9+
#![allow(unknown_lints)]
10+
#![allow(semicolon_in_expressions_from_macros)]
11+
#![allow(semicolon_in_expressions_from_non_local_macros)]
12+
813
use std::{
914
collections::BTreeMap,
1015
net::{IpAddr, Ipv4Addr, SocketAddr},

0 commit comments

Comments
 (0)