We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47cce21 commit ba7eeacCopy full SHA for ba7eeac
src/bootstrap/src/core/build_steps/clippy.rs
@@ -95,7 +95,7 @@ pub struct LintConfig {
95
pub deny: Vec<String>,
96
pub forbid: Vec<String>,
97
// Path to folder containing clippy.toml, if any
98
- clippy_cfg_path: Option<PathBuf>,
+ pub clippy_cfg_path: Option<PathBuf>,
99
}
100
101
impl LintConfig {
src/bootstrap/src/core/config/tests.rs
@@ -318,7 +318,7 @@ fn order_of_clippy_rules() {
318
319
let actual = match config.cmd.clone() {
320
crate::Subcommand::Clippy { allow, deny, warn, forbid, .. } => {
321
- let cfg = LintConfig { allow, deny, warn, forbid };
+ let cfg = LintConfig { allow, deny, warn, forbid, clippy_cfg_path: None };
322
get_clippy_rules_in_order(&args, &cfg)
323
324
_ => panic!("invalid subcommand"),
@@ -342,7 +342,7 @@ fn clippy_rule_separate_prefix() {
342
343
344
345
346
347
348
0 commit comments