diff options
| author | bors <bors@rust-lang.org> | 2014-11-25 15:48:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-11-25 15:48:05 +0000 |
| commit | 0e06f71747749e33ca590c334658bddde97a7e54 (patch) | |
| tree | 57a3fc9cca2562ea6595e95c54233915ce5b4c95 /src/libstd | |
| parent | 48ca6d1840818e4a8977d00ed62cf0e8e0e5d193 (diff) | |
| parent | 5fbe0cac7c568774082755ecc098caba98352a1e (diff) | |
| download | rust-0e06f71747749e33ca590c334658bddde97a7e54.tar.gz rust-0e06f71747749e33ca590c334658bddde97a7e54.zip | |
auto merge of #18234 : pnkfelix/rust/fsk-type-fragments-for-needsdrop-2, r=nikomatsakis
Code to fragment paths into pieces based on subparts being moved around, e.g. moving `x.1` out of a tuple `(A,B,C)` leaves behind the fragments `x.0: A` and `x.2: C`. Further discussion in borrowck/doc.rs. Includes differentiation between assigned_fragments and moved_fragments, support for all-but-one array fragments, and instrumentation to print out the moved/assigned/unmmoved/parents for each function, factored out into a separate submodule. These fragments can then be used by `trans` to inject stack-local dynamic drop flags. (They also can be hooked up with dataflow to reduce the expected number of injected flags.)
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions
