Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 2a96c6e

Browse files
committed
Fixed compiler error
1 parent 204e2bf commit 2a96c6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ extern crate rustc_target;
1515

1616
use rustc_codegen_ssa::traits::CodegenBackend;
1717
use rustc_codegen_ssa::{CodegenResults, CrateInfo};
18-
use rustc_data_structures::fx::FxHashMap;
18+
use rustc_data_structures::fx::FxIndexMap;
1919
use rustc_errors::ErrorGuaranteed;
2020
use rustc_metadata::EncodedMetadata;
2121
use rustc_middle::dep_graph::{WorkProduct, WorkProductId};
@@ -49,11 +49,11 @@ impl CodegenBackend for TheBackend {
4949
ongoing_codegen: Box<dyn Any>,
5050
_sess: &Session,
5151
_outputs: &OutputFilenames,
52-
) -> Result<(CodegenResults, FxHashMap<WorkProductId, WorkProduct>), ErrorGuaranteed> {
52+
) -> Result<(CodegenResults, FxIndexMap<WorkProductId, WorkProduct>), ErrorGuaranteed> {
5353
let codegen_results = ongoing_codegen
5454
.downcast::<CodegenResults>()
5555
.expect("in join_codegen: ongoing_codegen is not a CodegenResults");
56-
Ok((*codegen_results, FxHashMap::default()))
56+
Ok((*codegen_results, FxIndexMap::default()))
5757
}
5858

5959
fn link(

0 commit comments

Comments
 (0)