Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-diagnostics/src/handlers/pattern_arg_in_extern_fn.rs')
| -rw-r--r-- | crates/ide-diagnostics/src/handlers/pattern_arg_in_extern_fn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-diagnostics/src/handlers/pattern_arg_in_extern_fn.rs b/crates/ide-diagnostics/src/handlers/pattern_arg_in_extern_fn.rs index 36031865fc..459ec175b1 100644 --- a/crates/ide-diagnostics/src/handlers/pattern_arg_in_extern_fn.rs +++ b/crates/ide-diagnostics/src/handlers/pattern_arg_in_extern_fn.rs @@ -4,7 +4,7 @@ use crate::{Diagnostic, DiagnosticCode, DiagnosticsContext}; // // This diagnostic is triggered if a pattern was declared as an argument in a foreign function declaration. pub(crate) fn pattern_arg_in_extern_fn( - ctx: &DiagnosticsContext<'_>, + ctx: &DiagnosticsContext<'_, '_>, d: &hir::PatternArgInExternFn, ) -> Diagnostic { Diagnostic::new_with_syntax_node_ptr( |