Collect Phase 1 (fast) diagnostics: syntax errors, unused imports. These are cheap — no type resolution.
(
&self,
uri_str: &str,
content: &str,
out: &mut Vec<Diagnostic>,
)
| 201 | /// Collect Phase 1 (fast) diagnostics: syntax errors, unused |
| 202 | /// imports. These are cheap — no type resolution. |
| 203 | pub(crate) fn collect_fast_diagnostics( |
| 204 | &self, |
| 205 | uri_str: &str, |
| 206 | content: &str, |
| 207 | out: &mut Vec<Diagnostic>, |
| 208 | ) { |
| 209 | self.collect_syntax_error_diagnostics(uri_str, content, out); |
| 210 | self.collect_unused_import_diagnostics(uri_str, content, out); |
| 211 | self.collect_unused_variable_diagnostics(uri_str, content, out); |
| 212 | } |
| 213 | |
| 214 | /// Collect Phase 2 (slow) diagnostics: unknown class/member/function, |
| 215 | /// argument count, implementation errors, deprecated usage. These |
no test coverage detected