<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/compile-fail/borrowck-vec-pattern-move-tail.rs, branch 1.2.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.2.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-03-27T19:50:49+00:00</updated>
<entry>
<title>Feature gate *all* slice patterns. #23121</title>
<updated>2015-03-27T19:50:49+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2015-03-27T01:34:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1639e51f6e4d036478705f4581de3a7417ccec0f'/>
<id>urn:sha1:1639e51f6e4d036478705f4581de3a7417ccec0f</id>
<content type='text'>
Until some backwards-compatibility hazards are fixed in #23121,
these need to be unstable.

[breaking-change]
</content>
</entry>
<entry>
<title>Updates to tests reflecting array-move restrictions.</title>
<updated>2015-02-07T12:44:06+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2015-02-04T11:25:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4583272bf5054e84c4c59ba3b9334a52cfcf5208'/>
<id>urn:sha1:4583272bf5054e84c4c59ba3b9334a52cfcf5208</id>
<content type='text'>
Note that the change to the error message in
borrowck-use-in-index-lvalue.rs, where we report that `*w` is
uninitialized rather than `w`, was unintended fallout from the
implementation strategy used here.

The change appears harmless to me, but I welcome advice on how to
bring back the old message, which was slightly cleaner (i.e. less
unintelligible).

----

drive-by: revise compile-fail/borrowck-vec-pattern-move-tail to make
it really clear that there is a conflict that must be signaled.

(A hypothetical future version of Rust might be able to accept the
prior version of the code, since the previously updated index was not
actually aliased.)
</content>
</entry>
<entry>
<title>Kill more `isize`s</title>
<updated>2015-01-31T16:40:40+00:00</updated>
<author>
<name>Tobias Bucher</name>
<email>tobiasbucher5991@gmail.com</email>
</author>
<published>2015-01-31T16:23:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b4a43f3864e394959a7d3c3efae6da85bdc59c71'/>
<id>urn:sha1:b4a43f3864e394959a7d3c3efae6da85bdc59c71</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update compile-fail tests to use is/us, not i/u.</title>
<updated>2015-01-08T16:02:24+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2015-01-08T11:05:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=441044f071181b52144bad15a50bf91dc06771a5'/>
<id>urn:sha1:441044f071181b52144bad15a50bf91dc06771a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>librustc: Change the syntax of subslice matching to use postfix `..`</title>
<updated>2014-09-08T23:12:13+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2014-09-06T22:23:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eb678ff87f0cdbf523b26fe9255cff684b4091e5'/>
<id>urn:sha1:eb678ff87f0cdbf523b26fe9255cff684b4091e5</id>
<content type='text'>
instead of prefix `..`.

This breaks code that looked like:

    match foo {
        [ first, ..middle, last ] =&gt; { ... }
    }

Change this code to:

    match foo {
        [ first, middle.., last ] =&gt; { ... }
    }

RFC #55.

Closes #16967.

[breaking-change]
</content>
</entry>
<entry>
<title>librustc: Remove the fallback to `int` for integers and `f64` for</title>
<updated>2014-06-29T18:47:58+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2014-06-27T19:30:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a5bb0a3a4574af88add700ace7aefc37172fa7a5'/>
<id>urn:sha1:a5bb0a3a4574af88add700ace7aefc37172fa7a5</id>
<content type='text'>
floating point numbers for real.

This will break code that looks like:

    let mut x = 0;
    while ... {
        x += 1;
    }
    println!("{}", x);

Change that code to:

    let mut x = 0i;
    while ... {
        x += 1;
    }
    println!("{}", x);

Closes #15201.

[breaking-change]
</content>
</entry>
<entry>
<title>test -- update tests with new error messages</title>
<updated>2014-02-11T21:55:25+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2014-02-10T12:44:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3805c5416e0df7c6a3214e980a145a34119f4ad5'/>
<id>urn:sha1:3805c5416e0df7c6a3214e980a145a34119f4ad5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added tests to make tidy</title>
<updated>2014-02-07T18:49:24+00:00</updated>
<author>
<name>Derek Guenther</name>
<email>dguenther9@gmail.com</email>
</author>
<published>2014-02-05T22:33:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=730bdb6403dd47b98c1be6c4b3423edb28ca9477'/>
<id>urn:sha1:730bdb6403dd47b98c1be6c4b3423edb28ca9477</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace unreachable() calls with unreachable!().</title>
<updated>2013-09-19T05:04:03+00:00</updated>
<author>
<name>Chris Morgan</name>
<email>me@chrismorgan.info</email>
</author>
<published>2013-09-19T05:04:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e2807a4565575c6a08a2a65c76ee37bf3f48c841'/>
<id>urn:sha1:e2807a4565575c6a08a2a65c76ee37bf3f48c841</id>
<content type='text'>
This is the second of two parts of #8991, now possible as a new snapshot
has been made. (The first part implemented the unreachable!() macro; it
was #8992, 6b7b8f2682.)

``std::util::unreachable()`` is removed summarily; any code which used
it should now use the ``unreachable!()`` macro.

Closes #9312.

Closes #8991.
</content>
</entry>
<entry>
<title>test: Update tests to use the new syntax.</title>
<updated>2013-05-23T04:57:10+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2013-05-21T00:07:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1be40be613177d4849f42da284a3af74e1d58da2'/>
<id>urn:sha1:1be40be613177d4849f42da284a3af74e1d58da2</id>
<content type='text'>
</content>
</entry>
</feed>
