<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/run-pass/enum-nullable-simplifycfg-misopt.rs, branch 1.1.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.1.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-04-09T00:21:34+00:00</updated>
<entry>
<title>Remove pretty-expanded from failing tests</title>
<updated>2015-04-09T00:21:34+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-04-08T23:27:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ec7c800d2fc0dc5918d325ae68d88c9708d20259'/>
<id>urn:sha1:ec7c800d2fc0dc5918d325ae68d88c9708d20259</id>
<content type='text'>
This commit removes pretty-expanded from all tests that wind up calling panic!
one way or another now that its internals are unstable.
</content>
</entry>
<entry>
<title>rustdoc: Replace no-pretty-expanded with pretty-expanded</title>
<updated>2015-03-23T21:40:26+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2015-03-22T20:13:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8c93a79e387f5197e8b8fe73b3d87d2b101b7c4a'/>
<id>urn:sha1:8c93a79e387f5197e8b8fe73b3d87d2b101b7c4a</id>
<content type='text'>
Now that features must be declared expanded source often does not compile.
This adds 'pretty-expanded' to a bunch of test cases that still work.
</content>
</entry>
<entry>
<title>Remove all `i` suffixes</title>
<updated>2015-01-30T03:38:54+00:00</updated>
<author>
<name>Tobias Bucher</name>
<email>tobiasbucher5991@gmail.com</email>
</author>
<published>2015-01-25T21:05:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f64fe4e27555c256cb228feb05d4181a2287125'/>
<id>urn:sha1:7f64fe4e27555c256cb228feb05d4181a2287125</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fallout: run-pass tests that use box.  (many could be ported to `Box::new` instead in the future.)</title>
<updated>2015-01-08T01:31:37+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2015-01-08T01:25:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a7a2dd96ecc62221f78013abb3269591f4d07f04'/>
<id>urn:sha1:a7a2dd96ecc62221f78013abb3269591f4d07f04</id>
<content type='text'>
</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>Rename fail! to panic!</title>
<updated>2014-10-29T15:43:07+00:00</updated>
<author>
<name>Steve Klabnik</name>
<email>steve@steveklabnik.com</email>
</author>
<published>2014-10-09T19:17:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7828c3dd2858d8f3a0448484d8093e22719dbda0'/>
<id>urn:sha1:7828c3dd2858d8f3a0448484d8093e22719dbda0</id>
<content type='text'>
https://github.com/rust-lang/rfcs/pull/221

The current terminology of "task failure" often causes problems when
writing or speaking about code. You often want to talk about the
possibility of an operation that returns a Result "failing", but cannot
because of the ambiguity with task failure. Instead, you have to speak
of "the failing case" or "when the operation does not succeed" or other
circumlocutions.

Likewise, we use a "Failure" header in rustdoc to describe when
operations may fail the task, but it would often be helpful to separate
out a section describing the "Err-producing" case.

We have been steadily moving away from task failure and toward Result as
an error-handling mechanism, so we should optimize our terminology
accordingly: Result-producing functions should be easy to describe.

To update your code, rename any call to `fail!` to `panic!` instead.
Assuming you have not created your own macro named `panic!`, this
will work on UNIX based systems:

    grep -lZR 'fail!' . | xargs -0 -l sed -i -e 's/fail!/panic!/g'

You can of course also do this by hand.

[breaking-change]
</content>
</entry>
<entry>
<title>tests: remove uses of Gc.</title>
<updated>2014-10-02T14:02:15+00:00</updated>
<author>
<name>Eduard Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2014-10-02T05:10:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=58bea31ca0e11bf49439d33e1d21f11de7161567'/>
<id>urn:sha1:58bea31ca0e11bf49439d33e1d21f11de7161567</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove managed_box gate from tests</title>
<updated>2014-07-27T04:05:29+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2014-07-27T04:05:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aa486547404553227fa3db0a887554245605075a'/>
<id>urn:sha1:aa486547404553227fa3db0a887554245605075a</id>
<content type='text'>
No longer does anything.
</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>rustc: Obsolete the `@` syntax entirely</title>
<updated>2014-06-14T17:45:37+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-06-12T02:33:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ade807c6dcf6dc4454732c5e914ca06ebb429773'/>
<id>urn:sha1:ade807c6dcf6dc4454732c5e914ca06ebb429773</id>
<content type='text'>
This removes all remnants of `@` pointers from rustc. Additionally, this removes
the `GC` structure from the prelude as it seems odd exporting an experimental
type in the prelude by default.

Closes #14193
[breaking-change]
</content>
</entry>
</feed>
