diff --git a/libs/sqf/src/analyze/lints/s19_extra_not.rs b/libs/sqf/src/analyze/lints/s19_extra_not.rs index 170f5a0d..fd4e46f1 100644 --- a/libs/sqf/src/analyze/lints/s19_extra_not.rs +++ b/libs/sqf/src/analyze/lints/s19_extra_not.rs @@ -8,7 +8,7 @@ use hemtt_workspace::{ use crate::{analyze::SqfLintData, Expression, UnaryCommand}; -crate::lint!(LintS19ExtraNot); +crate::analyze::lint!(LintS19ExtraNot); impl Lint for LintS19ExtraNot { fn ident(&self) -> &str { @@ -128,7 +128,7 @@ impl Code19ExtraNot { .generate_processed(processed) } fn generate_processed(mut self, processed: &Processed) -> Self { - self.diagnostic = Diagnostic::new_for_processed(&self, self.span.clone(), processed); + self.diagnostic = Diagnostic::from_code_processed(&self, self.span.clone(), processed); self } }