<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/compile-fail/borrowck-vec-pattern-move-tail.rs, branch 0.6</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=0.6</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=0.6'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2013-02-26T12:18:12+00:00</updated>
<entry>
<title>test: De-[mut] (remove all mutable arrays from) the tests. rs=demuting</title>
<updated>2013-02-26T12:18:12+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2013-02-26T01:28:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8fceee6c88ee58a506b9d2d9f5f04c1dc423214c'/>
<id>urn:sha1:8fceee6c88ee58a506b9d2d9f5f04c1dc423214c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Finalize moves-based-on-type implementation.</title>
<updated>2013-01-31T20:09:00+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2013-01-10T18:59:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0682ad0eb9a6b268498a81b2e16a40544e44f0fa'/>
<id>urn:sha1:0682ad0eb9a6b268498a81b2e16a40544e44f0fa</id>
<content type='text'>
Changes:

- Refactor move mode computation
- Removes move mode arguments, unary move, capture clauses
  (though they still parse for backwards compatibility)
- Simplify how moves are handled in trans
- Fix a number of illegal copies that cropped up
- Workaround for bug involving def-ids in params
  (see details below)

Future work (I'll open bugs for these...):

- Improve error messages for moves that are due
  to bindings
- Add support for moving owned content like a.b.c
  to borrow check, test in trans (but I think it'll
  "just work")
- Proper fix for def-ids in params

Def ids in params:

Move captures into a map instead of recomputing.

This is a workaround for a larger bug having to do with the def-ids associated
with ty_params, which are not always properly preserved when inlining.  I am
not sure of my preferred fix for the larger bug yet.  This current fix removes
the only code in trans that I know of which relies on ty_param def-ids, but
feels fragile.
</content>
</entry>
</feed>
