diff options
| author | bors <bors@rust-lang.org> | 2016-01-22 17:09:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-01-22 17:09:37 +0000 |
| commit | 8f36038490559a98efcba3521564663b15785d9c (patch) | |
| tree | e5647084ffdbecfba7a8068c0c573bcf50dbca09 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | e1cb0a3508423383250662adb65137be4b86066b (diff) | |
| parent | 56c73e58a24c7106e7160df4624b64bf7672e089 (diff) | |
| download | rust-8f36038490559a98efcba3521564663b15785d9c.tar.gz rust-8f36038490559a98efcba3521564663b15785d9c.zip | |
Auto merge of #31087 - nikomatsakis:incr-comp-fulfillment-cache, r=arielb1
This is a fix for #30741. It simplifies dep-graph tracking for trait matching. I was experimenting with having a greater resolution here, but decided to pare back to just have one dep node for "trait resolutions on trait `Foo`", which means that adding an impl to the trait `Foo` will invalidate all fns that had to do any trait matching at all on `Foo`. This seems like a reasonable starting place. Independently, I realized I had neglected to record a dependency from trans on typeck -- this is obviously needed, since trans consumes a bunch of data structures that typeck produces (but which are not currently individually tracked) -- and because trans assumes that typeck has been done. Eventually those are going to go away and be replaced with MIR, which will be tracked, so this edge would presumably be derived automatically then, but it's an obvious enough thing to want for now. r? @arielb1 cc @michaelwoerister -- this might indirectly fix the problem you observed with the trans cache, though it'd be nice to try and craft an independent test case for that.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
