diff options
| author | bors <bors@rust-lang.org> | 2015-11-24 19:46:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-11-24 19:46:59 +0000 |
| commit | 2a0ce4a62954ad30f37d67f1c47b1a6978fc6bc4 (patch) | |
| tree | 3b88fec4c57746bc82b6256580013c986e6df28d /src/liballoc_system | |
| parent | 1004860dd42632733d985bbf23bd12d0fd23badb (diff) | |
| parent | 612d001d74cf9e70e0dd9e8eaca73f33c7ea8c0e (diff) | |
| download | rust-2a0ce4a62954ad30f37d67f1c47b1a6978fc6bc4.tar.gz rust-2a0ce4a62954ad30f37d67f1c47b1a6978fc6bc4.zip | |
Auto merge of #29960 - aturon:dismantle-traitref-subtyping, r=nikomatsakis
Trait references are always invariant, so all uses of subtyping between them are equivalent to using equality. Moreover, the overlap check was previously performed twice per impl pair, once in each direction. It is now performed only once, and internally uses the equality check. On glium, a crate that spends some time in coherence, this change sped up coherence checking by a few percent (not very significant). r? @nikomatsakis
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions
