<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustc_error_codes/error_codes, branch 1.41.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.41.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.41.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-12-15T01:28:28+00:00</updated>
<entry>
<title>Auto merge of #67216 - ecstatic-morse:const-loop, r=oli-obk</title>
<updated>2019-12-15T01:28:28+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2019-12-15T01:28:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fc6b5d6efe163060bde31cc1c801086ed7ebc8f1'/>
<id>urn:sha1:fc6b5d6efe163060bde31cc1c801086ed7ebc8f1</id>
<content type='text'>
Enable `loop` and `while` in constants behind a feature flag

This PR is an initial implementation of #52000. It adds a `const_loop` feature gate, which allows `while` and `loop` expressions through both HIR and MIR const-checkers if enabled. `for` expressions remain forbidden by the HIR const-checker, since they desugar to a call to `IntoIterator::into_iter`, which will be rejected anyways.

`while` loops also require [`#![feature(const_if_match)]`](https://github.com/rust-lang/rust/pull/66507), since they have a conditional built into them. The diagnostics from the HIR const checker will suggest this to the user.

r? @oli-obk
cc @rust-lang/wg-const-eval
</content>
</entry>
<entry>
<title>Revert "Stabilize the `never_type`, written `!`."</title>
<updated>2019-12-14T14:01:09+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2019-12-11T14:55:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d286113024ce50ada7a34f00041f4ff41f3217e6'/>
<id>urn:sha1:d286113024ce50ada7a34f00041f4ff41f3217e6</id>
<content type='text'>
This reverts commit 15c30ddd69d6cc3fffe6d304c6dc968a5ed046f1.
</content>
</entry>
<entry>
<title>Look for "unstable feature" error code in test</title>
<updated>2019-12-13T18:39:14+00:00</updated>
<author>
<name>Dylan MacKenzie</name>
<email>ecstaticmorse@gmail.com</email>
</author>
<published>2019-12-11T18:09:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a2a077460b3365a95c475ce3b33fe7987c4bfa23'/>
<id>urn:sha1:a2a077460b3365a95c475ce3b33fe7987c4bfa23</id>
<content type='text'>
Conditionals and loops now have unstable features, and `feature_err` has
its own error code. I think that `feature_err` should take an error code
as a parameter, but don't have the energy to make this change throughout
the codebase. Also, the error code system may be torn out entirely.
</content>
</entry>
<entry>
<title>Update E0478.md</title>
<updated>2019-12-09T11:17:38+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>dylan.dpc@gmail.com</email>
</author>
<published>2019-12-09T11:17:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2183a949a8293eb328259374653e76199494b0ea'/>
<id>urn:sha1:2183a949a8293eb328259374653e76199494b0ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>corrected comment to reflect that 'SnowWhite lives longer than 'kiss in E0478</title>
<updated>2019-12-09T02:09:36+00:00</updated>
<author>
<name>ryan</name>
<email>ryanswilson@protonmail.com</email>
</author>
<published>2019-12-09T02:09:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f430fca73a94dfcfff146dac8ea8833615fc537e'/>
<id>urn:sha1:f430fca73a94dfcfff146dac8ea8833615fc537e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #66606 - christianpoveda:mut-refs-in-const-fn, r=oli-obk</title>
<updated>2019-12-06T22:26:54+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-12-06T22:26:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2bd35c065cb097d1ea6480c372ab9b5eea358cee'/>
<id>urn:sha1:2bd35c065cb097d1ea6480c372ab9b5eea358cee</id>
<content type='text'>
Add feature gate for mut refs in const fn

r? @oli-obk
</content>
</entry>
<entry>
<title>Rollup merge of #67017 - GuillaumeGomez:long-err-explanations-2, r=Dylan-DPC</title>
<updated>2019-12-06T06:37:08+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2019-12-06T06:37:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=662a225f1d251cd9f07e9c06a24094659a8c7242'/>
<id>urn:sha1:662a225f1d251cd9f07e9c06a24094659a8c7242</id>
<content type='text'>
cleanup long error explanations

r? @Dylan-DPC
</content>
</entry>
<entry>
<title>Rollup merge of #66979 - reese:E0631-long-error, r=GuillaumeGomez</title>
<updated>2019-12-06T06:37:06+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2019-12-06T06:37:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6c0165fa78c19a879b14f95b92b83d368ba6797c'/>
<id>urn:sha1:6c0165fa78c19a879b14f95b92b83d368ba6797c</id>
<content type='text'>
Add long error for E0631 and update ui tests.

This PR adds a long error for `E0631`, which covers errors where closure argument types are mismatched. It also updates UI tests where this error is applicable.

Part of #61137
</content>
</entry>
<entry>
<title>Rollup merge of #66900 - GuillaumeGomez:clean-up-err-codes, r=Dylan-DPC</title>
<updated>2019-12-06T06:37:03+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2019-12-06T06:37:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c31773cece7b33b6bbb683e9e122084deb0ac260'/>
<id>urn:sha1:c31773cece7b33b6bbb683e9e122084deb0ac260</id>
<content type='text'>
Clean up error codes

r? @Dylan-DPC
</content>
</entry>
<entry>
<title>some error codes long explanation</title>
<updated>2019-12-04T12:36:50+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2019-12-04T12:36:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ae753a55ac8b16772ad7617c8512433921271abc'/>
<id>urn:sha1:ae753a55ac8b16772ad7617c8512433921271abc</id>
<content type='text'>
</content>
</entry>
</feed>
