about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-09-15 18:16:20 +0530
committerGitHub <noreply@github.com>2016-09-15 18:16:20 +0530
commit7494bc7c50d03b17d16474e421d842f5ef7d9078 (patch)
tree14bdbfd8c6cc190bd3374e98e9b2748f9982de53 /src/rustllvm/RustWrapper.cpp
parentebef6ad0e4cda2e05dc92f6d241562eb8a7a04a9 (diff)
parent7ec9b81326121ae07feb0a19f76b3f16b98d0c43 (diff)
downloadrust-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