1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-04 15:41:57 +02:00

testing: fix cfg(never) warning (#2334)

See <https://doc.rust-lang.org/nightly/rustc/check-cfg.html>.
This commit is contained in:
Frances Wingerter 2024-09-03 13:42:42 +00:00 committed by GitHub
parent cab287849b
commit 345e782bdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"