<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/compile-fail/non-constant-enum-for-vec-repeat.rs, branch 1.12.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.12.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.12.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2016-07-22T11:32:56+00:00</updated>
<entry>
<title>refactor constant evaluation error reporting</title>
<updated>2016-07-22T11:32:56+00:00</updated>
<author>
<name>Ariel Ben-Yehuda</name>
<email>ariel.byd@gmail.com</email>
</author>
<published>2016-07-19T21:02:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=37c569627cd285788509f654a6a2658126ba72e4'/>
<id>urn:sha1:37c569627cd285788509f654a6a2658126ba72e4</id>
<content type='text'>
Refactor constant evaluation to use a single error reporting function
that reports a type-error-like message.

Also, unify all error codes with the "constant evaluation error" message
to just E0080, and similarly for a few other duplicate codes. The old
situation was a total mess, and now that we have *something* we can
further iterate on the UX.
</content>
</entry>
<entry>
<title>check constants even if they are unused in the current crate</title>
<updated>2016-04-03T13:18:16+00:00</updated>
<author>
<name>Oliver Schneider</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2016-04-01T07:19:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=913a2b4b0525c75ecf915076c4fd1e16187f8b51'/>
<id>urn:sha1:913a2b4b0525c75ecf915076c4fd1e16187f8b51</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fallout from changes for overflow-checking during constant evaluation.</title>
<updated>2015-04-01T00:56:07+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2015-03-29T23:23:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8d54ea3ec9c48eaeaab8fa9061cf28c2678e8ae9'/>
<id>urn:sha1:8d54ea3ec9c48eaeaab8fa9061cf28c2678e8ae9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update compile fail tests to use usize.</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:02:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=85f961e2ccf056965fd7a95c44ce0922a865ae8d'/>
<id>urn:sha1:85f961e2ccf056965fd7a95c44ce0922a865ae8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow use of `[_ ; n]` syntax for fixed length and repeating arrays.</title>
<updated>2014-12-20T02:23:29+00:00</updated>
<author>
<name>Nick Cameron</name>
<email>ncameron@mozilla.com</email>
</author>
<published>2014-12-20T02:20:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2e86929a4a5a36f3993e577b4582ba70d84bbb40'/>
<id>urn:sha1:2e86929a4a5a36f3993e577b4582ba70d84bbb40</id>
<content type='text'>
This does NOT break any existing programs because the `[_, ..n]` syntax is also supported.
</content>
</entry>
<entry>
<title>Switch to purely namespaced enums</title>
<updated>2014-11-17T15:35:51+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2014-11-06T08:05:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3dcd2157403163789aaf21a9ab3c4d30a7c6494d'/>
<id>urn:sha1:3dcd2157403163789aaf21a9ab3c4d30a7c6494d</id>
<content type='text'>
This breaks code that referred to variant names in the same namespace as
their enum. Reexport the variants in the old location or alter code to
refer to the new locations:

```
pub enum Foo {
    A,
    B
}

fn main() {
    let a = A;
}
```
=&gt;
```
pub use self::Foo::{A, B};

pub enum Foo {
    A,
    B
}

fn main() {
    let a = A;
}
```
or
```
pub enum Foo {
    A,
    B
}

fn main() {
    let a = Foo::A;
}
```

[breaking-change]
</content>
</entry>
<entry>
<title>Update tests accordingly</title>
<updated>2014-11-16T13:23:15+00:00</updated>
<author>
<name>Jakub Bukaj</name>
<email>jakub@jakub.cc</email>
</author>
<published>2014-11-09T15:14:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=28b1b2ec393fb3c76543d7ee46b2cb2d7954b6da'/>
<id>urn:sha1:28b1b2ec393fb3c76543d7ee46b2cb2d7954b6da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adjust the error messages to match the pattern "expected foo, found bar"</title>
<updated>2014-08-24T07:53:01+00:00</updated>
<author>
<name>Jonas Hietala</name>
<email>tradet.h@gmail.com</email>
</author>
<published>2014-08-23T10:41:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9968ae255495704cb0c3fc1f43d2df2e84c20d5e'/>
<id>urn:sha1:9968ae255495704cb0c3fc1f43d2df2e84c20d5e</id>
<content type='text'>
Closes #8492
</content>
</entry>
<entry>
<title>test: Make manual changes to deal with the fallout from removal of</title>
<updated>2014-03-21T12:37:21+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2014-03-05T23:28:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af79a5aa7da4f42fc0939a19f46fa73b894d6e9a'/>
<id>urn:sha1:af79a5aa7da4f42fc0939a19f46fa73b894d6e9a</id>
<content type='text'>
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
</content>
</entry>
<entry>
<title>test: Automatically remove all `~[T]` from tests.</title>
<updated>2014-03-21T12:37:21+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2014-03-05T22:02:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=579eb2400b3cb5d9cf03a5c8792d63630489193a'/>
<id>urn:sha1:579eb2400b3cb5d9cf03a5c8792d63630489193a</id>
<content type='text'>
</content>
</entry>
</feed>
