diff options
Diffstat (limited to 'cli/module_loader.rs')
-rw-r--r-- | cli/module_loader.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs index 4e0fe7142..d2742d1ba 100644 --- a/cli/module_loader.rs +++ b/cli/module_loader.rs @@ -127,7 +127,6 @@ impl ModuleLoadPreparer { graph_kind: graph.graph_kind(), roots: roots.clone(), loader: Some(&mut cache), - workspace_fast_check: false, }, ) .await?; @@ -157,12 +156,13 @@ impl ModuleLoadPreparer { if self.options.type_check_mode().is_true() && !self.graph_container.is_type_checked(&roots, lib) { - let graph = Arc::new(graph.segment(&roots)); + let graph = graph.segment(&roots); self .type_checker .check( graph, check::CheckOptions { + build_fast_check_graph: true, lib, log_ignored_options: false, reload: self.options.reload_flag() |