Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-diagnostics/src/handlers/invalid_lhs_of_assignment.rs')
| -rw-r--r-- | crates/ide-diagnostics/src/handlers/invalid_lhs_of_assignment.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-diagnostics/src/handlers/invalid_lhs_of_assignment.rs b/crates/ide-diagnostics/src/handlers/invalid_lhs_of_assignment.rs index 02716f2b86..225d3e0b46 100644 --- a/crates/ide-diagnostics/src/handlers/invalid_lhs_of_assignment.rs +++ b/crates/ide-diagnostics/src/handlers/invalid_lhs_of_assignment.rs @@ -4,7 +4,7 @@ use crate::{Diagnostic, DiagnosticCode, DiagnosticsContext}; // // This diagnostic is triggered if the left-hand side of an assignment can't be assigned to. pub(crate) fn invalid_lhs_of_assignment( - ctx: &DiagnosticsContext<'_>, + ctx: &DiagnosticsContext<'_, '_>, d: &hir::InvalidLhsOfAssignment, ) -> Diagnostic { Diagnostic::new_with_syntax_node_ptr( |