pub fn check_source( file: &Path, source: &str, config: &Config, ) -> Result<Vec<Diagnostic>, Error>
Checks one source file. file is only used in the diagnostics.
file