pub fn diagnostics(
        &self,
        config: &DiagnosticsConfig,
        file_id: FileId,
    ) -> Cancelable<Vec<Diagnostic>> {
        self.with_db(|db| diagnostics::diagnostics(db, config, file_id))
    }
/// Computes the set of diagnostics for the given file.
Computes the set of diagnostics for the given file.
Computes the set of diagnostics for the given file .
pub fn diagnostics(
        &self,
        config: &DiagnosticsConfig,
        file_id: FileId,
    ) -> Cancelable<Vec<Diagnostic>> {
        self.with_db(|db| diagnostics::diagnostics(db, config, file_id))
    }
pub fn diagnostics ( & self , config : & DiagnosticsConfig , file_id : FileId , ) -> Cancelable < Vec < Diagnostic > > { self . with_db ( | db | diagnostics :: diagnostics ( db , config , file_id ) ) }
Computes the set of diagnostics for the given file.
Computes the set of diagnostics for the given file .
&self
config
&DiagnosticsConfig
file_id
FileId