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:
parent
cab287849b
commit
345e782bdd
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user