@@ -75,7 +75,7 @@ use rustc_codegen_ssa::back::write::{CodegenContext, FatLTOInput, ModuleConfig,
7575use rustc_codegen_ssa:: back:: lto:: { LtoModuleCodegen , SerializedModule , ThinModule } ;
7676use rustc_codegen_ssa:: target_features:: supported_target_features;
7777use rustc_codegen_ssa:: traits:: { CodegenBackend , ExtraBackendMethods , ModuleBufferMethods , ThinBufferMethods , WriteBackendMethods } ;
78- use rustc_data_structures:: fx:: FxHashMap ;
78+ use rustc_data_structures:: fx:: FxIndexMap ;
7979use rustc_errors:: { DiagnosticMessage , ErrorGuaranteed , Handler , SubdiagnosticMessage } ;
8080use rustc_fluent_macro:: fluent_messages;
8181use rustc_metadata:: EncodedMetadata ;
@@ -137,7 +137,7 @@ impl CodegenBackend for GccCodegenBackend {
137137 Box :: new ( res)
138138 }
139139
140- fn join_codegen ( & self , ongoing_codegen : Box < dyn Any > , sess : & Session , _outputs : & OutputFilenames ) -> Result < ( CodegenResults , FxHashMap < WorkProductId , WorkProduct > ) , ErrorGuaranteed > {
140+ fn join_codegen ( & self , ongoing_codegen : Box < dyn Any > , sess : & Session , _outputs : & OutputFilenames ) -> Result < ( CodegenResults , FxIndexMap < WorkProductId , WorkProduct > ) , ErrorGuaranteed > {
141141 let ( codegen_results, work_products) = ongoing_codegen
142142 . downcast :: < rustc_codegen_ssa:: back:: write:: OngoingCodegen < GccCodegenBackend > > ( )
143143 . expect ( "Expected GccCodegenBackend's OngoingCodegen, found Box<Any>" )
0 commit comments