We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a300cab commit 7198905Copy full SHA for 7198905
src/librustc/ich/impls_hir.rs
@@ -414,10 +414,10 @@ impl<'a> ToStableHashKey<StableHashingContext<'a>> for hir::TraitCandidate {
414
import_ids,
415
} = self;
416
417
- let import_ids = import_ids.first().map(|node_id| hcx.node_to_hir_id(*node_id))
+ let first_import_id = import_ids.first().map(|node_id| hcx.node_to_hir_id(*node_id))
418
.map(|hir_id| (hcx.local_def_path_hash(hir_id.owner),
419
hir_id.local_id));
420
- (hcx.def_path_hash(*def_id), import_ids)
+ (hcx.def_path_hash(*def_id), first_import_id)
421
}
422
423
0 commit comments