Use binding autoref, because we can.
This commit is contained in:
parent
42255d93ef
commit
7dbb5e3b49
1 changed files with 2 additions and 2 deletions
|
@ -391,10 +391,10 @@ impl<'a> HashStable<StableHashingContext<'a>> for hir::TraitCandidate {
|
|||
hcx: &mut StableHashingContext<'a>,
|
||||
hasher: &mut StableHasher<W>) {
|
||||
hcx.with_node_id_hashing_mode(NodeIdHashingMode::HashDefPath, |hcx| {
|
||||
let &hir::TraitCandidate {
|
||||
let hir::TraitCandidate {
|
||||
def_id,
|
||||
import_ids,
|
||||
} = &self;
|
||||
} = self;
|
||||
|
||||
def_id.hash_stable(hcx, hasher);
|
||||
// We only use the outermost import NodeId as key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue