]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #65825 - eddyb:def-index-vec, r=varkor
authorMazdak Farrokhzad <twingoow@gmail.com>
Mon, 28 Oct 2019 20:36:01 +0000 (21:36 +0100)
committerGitHub <noreply@github.com>
Mon, 28 Oct 2019 20:36:01 +0000 (21:36 +0100)
rustc: use IndexVec<DefIndex, T> instead of Vec<T>.

Now that `DefIndex` is a proper index type, we can do that.
There was also an unnecessary `Option` I removed, I wonder if that has perf implications.


Trivial merge