From 5f4717633d540e910e03b198222360bc92b1ec26 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Thu, 8 Feb 2024 22:09:44 -0700 Subject: [PATCH] clear up some warnings in tests. --- tests/doc_tests.rs | 1 + tests/std_tests.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/doc_tests.rs b/tests/doc_tests.rs index d08e970..92b1b5c 100644 --- a/tests/doc_tests.rs +++ b/tests/doc_tests.rs @@ -1,4 +1,5 @@ #![allow(clippy::disallowed_names)] +#![allow(dead_code)] //! Cargo miri doesn't run doctests yet, so we duplicate these here. It's //! probably not that important to sweat keeping these perfectly up to date, but diff --git a/tests/std_tests.rs b/tests/std_tests.rs index 84fef6b..b881e5e 100644 --- a/tests/std_tests.rs +++ b/tests/std_tests.rs @@ -1,4 +1,5 @@ #![allow(clippy::uninlined_format_args)] +#![allow(unused_imports)] //! The integration tests seem to always have `std` linked, so things that would //! depend on that can go here.