hyper
hyper copied to clipboard
Clippy Analysis to CI
Enables Clippy in the CI as a need of the top-level ci-pass job.
Resolution for #2977
Disabled the current violations :
#![allow(
clippy::needless_borrow,
clippy::module_inception,
clippy::useless_format,
clippy::redundant_clone,
clippy::manual_non_exhaustive,
dead_code,
unused_imports
)]
And explicitly enabled the one requested one :
#![deny(clippy::self_named_module_files)]
Result :
Checking hyper v1.0.0-dev.0 (/home/runner/work/hyperclip/hyperclip)
Finished dev [unoptimized + debuginfo] target(s) in 53.42s
If we have a violation , we would see :
error: could not compile `hyper` due to previous error