Function bootstrap::core::build_steps::clippy::get_clippy_rules_in_order
source · pub(crate) fn get_clippy_rules_in_order(
all_args: &[String],
allow_rules: &[String],
deny_rules: &[String],
warn_rules: &[String],
forbid_rules: &[String],
) -> Vec<String>
Expand description
We need to keep the order of the given clippy lint rules before passing them. Since clap doesn’t offer any useful interface for this purpose out of the box, we have to handle it manually.