]> git.lizzy.rs Git - rust.git/commit
Auto merge of #42504 - michaelwoerister:hash-dep-nodes-prep, r=nikomatsakis
authorbors <bors@rust-lang.org>
Fri, 9 Jun 2017 08:03:14 +0000 (08:03 +0000)
committerbors <bors@rust-lang.org>
Fri, 9 Jun 2017 08:03:14 +0000 (08:03 +0000)
commit19193d6390644b5d621934bac6a33caacfb9ad31
tree6b82bb51e0e28924687bd173c71aeb3ed2f8c5f0
parent2416e222ecae76a36e958a8f7c4ac8083eb1ca45
parent8b36d3308effcc013c9c4aea9d83fa1d8bd540c1
Auto merge of #42504 - michaelwoerister:hash-dep-nodes-prep, r=nikomatsakis

Some preparatory refactorings for hash-based DepNodes

This PR collects some changes that turn out to be necessary for implementing `DepNodes` based on stable hashes (see #42294). The commits are self-contained and mostly straightforward.

The most interesting change here is the introduction of `DefIndices` for things that are not part of the AST: Some pieces of crate metadata now have a `DefIndex` too.

cc @eddyb
r? @nikomatsakis