mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-05-14 14:46:43 +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"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
|
[lints.rust]
|
||||||
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(never)'] }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "luhn"
|
name = "luhn"
|
||||||
path = "exercise.rs"
|
path = "exercise.rs"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user