From b308a774e81d7d18dfc2122459632f9ba9ae1eb8 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Fri, 14 Aug 2020 02:15:12 +0200 Subject: Fix nightly and Windows-only clippy warnings (#7095) --- cli/tests/integration_tests.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/tests') diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 76f82df23..206664113 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -3203,6 +3203,8 @@ fn set_raw_should_not_panic_on_no_tty() { } #[cfg(windows)] +// Clippy suggests to remove the `NoStd` prefix from all variants. I disagree. +#[allow(clippy::enum_variant_names)] enum WinProcConstraints { NoStdIn, NoStdOut, -- cgit v1.2.3