diff --git a/scripts/add_plugin.py b/scripts/add_plugin.py index 9e171faf5c..ce9e143a21 100755 --- a/scripts/add_plugin.py +++ b/scripts/add_plugin.py @@ -45,7 +45,7 @@ mod tests { fn rules(rule_code: Rule, path: &Path) -> Result<()> { let snapshot = format!("{}_{}", rule_code.as_ref(), path.to_string_lossy()); - let messages = test_path( + let diagnostics = test_path( Path::new("%s").join(path).as_path(), &settings::Settings::for_rule(rule_code), )?;