<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/compile-fail/for-loop-refutable-pattern-error-message.rs, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-08-14T08:38:00+00:00</updated>
<entry>
<title>Moved compile-fail tests to ui tests.</title>
<updated>2018-08-14T08:38:00+00:00</updated>
<author>
<name>David Wood</name>
<email>david@davidtw.co</email>
</author>
<published>2018-08-08T12:28:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b16a30677f4e641329e768272cf9d3ecc2fa31c4'/>
<id>urn:sha1:b16a30677f4e641329e768272cf9d3ecc2fa31c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hygiene for `for` loops, `if let`, `while let`</title>
<updated>2015-10-08T22:53:41+00:00</updated>
<author>
<name>Nick Cameron</name>
<email>ncameron@mozilla.com</email>
</author>
<published>2015-09-29T23:19:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=08f3752270098fb26ff41fc2e5cfbeca2dffeec0'/>
<id>urn:sha1:08f3752270098fb26ff41fc2e5cfbeca2dffeec0</id>
<content type='text'>
and some unrelated test cleanups
</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>custom message for refutable patterns in for loops</title>
<updated>2015-01-30T15:37:44+00:00</updated>
<author>
<name>Jorge Aparicio</name>
<email>japaricious@gmail.com</email>
</author>
<published>2015-01-22T22:46:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=76362f0a0ee1b66d7df524c4c8dea9b15b45cf78'/>
<id>urn:sha1:76362f0a0ee1b66d7df524c4c8dea9b15b45cf78</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: 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>syntax: desugar a `for` loop to a let binding to get better error</title>
<updated>2014-05-26T23:24:37+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2014-05-26T12:01:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f2a137829e07505aaaa2be4ae97d6ecfb6ef6823'/>
<id>urn:sha1:f2a137829e07505aaaa2be4ae97d6ecfb6ef6823</id>
<content type='text'>
messages when the pattern is refutable.

This means the compiler points directly to the pattern and said that the
problem is the pattern being refutable (rather than just saying that
some value isn't covered in the `match` as it did previously).

Fixes #14390.
</content>
</entry>
</feed>
