From 617428e98855d072acd9d332b9782b4159dadfd8 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 2 Aug 2024 21:38:56 +0700 Subject: Use workspace lints to control unexpected_cfgs. (#682) By using `workspace.lints`, we can configure lints once for everything (and then inherit it into the various crates). The lint configuration for `unexpected_cfgs` works in 1.80+ and warns otherwise. Co-authored-by: Thierry Berger --- src_testbed/lib.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src_testbed') diff --git a/src_testbed/lib.rs b/src_testbed/lib.rs index e64d025..8702673 100644 --- a/src_testbed/lib.rs +++ b/src_testbed/lib.rs @@ -1,5 +1,4 @@ #![allow(clippy::too_many_arguments)] -#![allow(unexpected_cfgs)] // This happens due to the dim2/dim3/f32/f64 cfg. extern crate nalgebra as na; -- cgit