From 345e782bdd76de3f20f477b67578ff23e8dbe011 Mon Sep 17 00:00:00 2001 From: Frances Wingerter <91758128+fw-immunant@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:42:42 +0000 Subject: [PATCH] testing: fix cfg(never) warning (#2334) See . --- src/testing/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/testing/Cargo.toml b/src/testing/Cargo.toml index 049f999c..a4eaf5fc 100644 --- a/src/testing/Cargo.toml +++ b/src/testing/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" edition = "2021" publish = false +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(never)'] } + [[bin]] name = "luhn" path = "exercise.rs"