diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-09-15 18:16:20 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-15 18:16:20 +0530 |
| commit | 7494bc7c50d03b17d16474e421d842f5ef7d9078 (patch) | |
| tree | 14bdbfd8c6cc190bd3374e98e9b2748f9982de53 /src/rustllvm/RustWrapper.cpp | |
| parent | ebef6ad0e4cda2e05dc92f6d241562eb8a7a04a9 (diff) | |
| parent | 7ec9b81326121ae07feb0a19f76b3f16b98d0c43 (diff) | |
| download | rust-7494bc7c50d03b17d16474e421d842f5ef7d9078.tar.gz rust-7494bc7c50d03b17d16474e421d842f5ef7d9078.zip | |
Rollup merge of #36425 - michaelwoerister:stable-projection-bounds, r=eddyb
Fix indeterminism in ty::TraitObject representation. Make sure that projection bounds in `ty::TraitObject` are sorted in a way that is stable across compilation sessions and crate boundaries. This PR + moves `DefPathHashes` up into `librustc` so it can be used there to create a stable sort key for `DefId`s, + changes `PolyExistentialProjection::sort_key()` to take advantage of the above, + and removes the unused `PolyProjectionPredicate::sort_key()` and `ProjectionTy::sort_key()` methods. Fixes #36155
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
