File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/tools/rust-analyzer/crates/rust-analyzer/src Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -754,21 +754,21 @@ impl GlobalState {
754
754
self . analysis_host . apply_change ( change) ;
755
755
756
756
self . finish_loading_crate_graph ( ) ;
757
- return ;
757
+ } else {
758
+ change. set_crate_graph ( crate_graph) ;
759
+ self . fetch_proc_macros_queue . request_op ( cause, ( change, proc_macro_paths) ) ;
758
760
}
759
- change. set_crate_graph ( crate_graph) ;
760
- self . fetch_proc_macros_queue . request_op ( cause, ( change, proc_macro_paths) ) ;
761
- }
762
761
763
- pub ( crate ) fn finish_loading_crate_graph ( & mut self ) {
764
762
self . report_progress (
765
763
"Building CrateGraph" ,
766
764
crate :: lsp:: utils:: Progress :: End ,
767
765
None ,
768
766
None ,
769
767
None ,
770
768
) ;
769
+ }
771
770
771
+ pub ( crate ) fn finish_loading_crate_graph ( & mut self ) {
772
772
self . process_changes ( ) ;
773
773
self . reload_flycheck ( ) ;
774
774
}
You can’t perform that action at this time.
0 commit comments