diff options
| author | David Wood <david@davidtw.co> | 2018-10-03 15:20:20 +0200 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2018-10-03 15:20:20 +0200 |
| commit | 5872d3eacd61113c8c241444b2d2403aaec2fbfd (patch) | |
| tree | bfbc85b2a5627e6fa33adca42524e06d961ccbd3 /src/rustllvm/PassWrapper.cpp | |
| parent | 9d408e0511aeb02ae46c692b2432886372f71c37 (diff) | |
| download | rust-5872d3eacd61113c8c241444b2d2403aaec2fbfd.tar.gz rust-5872d3eacd61113c8c241444b2d2403aaec2fbfd.zip | |
Deterministic external crate suggestion.
This commit ensures that the external crate suggestion is deterministic by using a `BTreeMap` rather than a `FxHashMap`. This is particularly useful as `std` and `core` will often contain the same items and therefore the suggestion would previously suggest either for any given error - in this case, the suggestion will always prefer `std` now.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
