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 42255d9 commit 7dbb5e3Copy full SHA for 7dbb5e3
src/librustc/ich/impls_hir.rs
@@ -391,10 +391,10 @@ impl<'a> HashStable<StableHashingContext<'a>> for hir::TraitCandidate {
391
hcx: &mut StableHashingContext<'a>,
392
hasher: &mut StableHasher<W>) {
393
hcx.with_node_id_hashing_mode(NodeIdHashingMode::HashDefPath, |hcx| {
394
- let &hir::TraitCandidate {
+ let hir::TraitCandidate {
395
def_id,
396
import_ids,
397
- } = &self;
+ } = self;
398
399
def_id.hash_stable(hcx, hasher);
400
// We only use the outermost import NodeId as key
0 commit comments