fn diagnostic_actions(&self, for_span: Span) -> Vec<ProgramAction> {
        let diagnostics = self.diagnostics();
        diagnostics
            .iter()
            .filter(|ProgramDiagnostic { span, .. }| span.intersects(for_span))
            .filter_map(|diag| diagnostic2action(diag, self.document_uri.as_ref()))
            .collect()
    }
/// Retrieves program actions for diagnostics over a span in a program.
Retrieves program actions for diagnostics over a span in a program.
Retrieves program actions for diagnostics over a span in a program .
fn diagnostic_actions(&self, for_span: Span) -> Vec<ProgramAction> {
        let diagnostics = self.diagnostics();
        diagnostics
            .iter()
            .filter(|ProgramDiagnostic { span, .. }| span.intersects(for_span))
            .filter_map(|diag| diagnostic2action(diag, self.document_uri.as_ref()))
            .collect()
    }
fn diagnostic_actions ( & self , for_span : Span ) -> Vec < ProgramAction > { let diagnostics = self . diagnostics ( ) ; diagnostics . iter ( ) . filter ( | ProgramDiagnostic { span , .. } | span . intersects ( for_span ) ) . filter_map ( | diag | diagnostic2action ( diag , self . document_uri . as_ref ( ) ) ) . collect ( ) }
Retrieves program actions for diagnostics over a span in a program.
Retrieves program actions for diagnostics over a span in a program .
&self
for_span
Span
&self
for_span
Span