pub fn get_diagnostics_as_string(db: &mut RootDatabase) -> String
Expand description

Returns a string with all the diagnostics in the db.

This is a shortcut for DiagnosticsReporter::write_to_string(&mut string).check(db).