pub fn resolve_run(inputs: &RunInputs) -> Result<ResolvedRun, ResolveError>Expand description
Resolve the raw inputs of one run.
The steps are: the root, the config path, the load, the validation, the
plan, the production mode of each analysis, the run settings, and one
resolved config for each production mode that a planned analysis uses.
With ConfigFallback::DefaultsOnDiscoveredError, a discovered config
that fails to load, to validate or to give workspace metadata gives the
default config, and ResolvedRun::fallback_error keeps the error. A run
of Surface::Lsp scopes a shared cache directory to the root, so two
editor roots do not write the same cache files.
ยงErrors
Returns a ResolveError for an invalid input, a config error, a
workspace error, or a run that selects no analysis.