From 07c21a58fb2fe7f3a58c4881dc5c46a11ac63f94 Mon Sep 17 00:00:00 2001 From: sholderbach Date: Sun, 23 Oct 2022 15:48:24 +0200 Subject: [PATCH] Replace `allow(unused)` with relevant feature switch --- crates/nu-command/tests/commands/where_.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-command/tests/commands/where_.rs b/crates/nu-command/tests/commands/where_.rs index 102d0d5d4a..72bf3b2aa9 100644 --- a/crates/nu-command/tests/commands/where_.rs +++ b/crates/nu-command/tests/commands/where_.rs @@ -1,5 +1,5 @@ use nu_test_support::nu; -#[allow(unused)] +#[cfg(feature = "database")] use nu_test_support::pipeline; #[test]