pub fn get_diagnostics_as_string(
db: &RootDatabase,
extra_crate_ids: &[CrateId],
) -> 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)
.