<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/run-fail/assert-eq-macro-panic.rs, branch 1.27.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.27.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.27.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2017-06-13T13:17:59+00:00</updated>
<entry>
<title>updated assert_eq test, fixed incorrect assert_ne message and added test.</title>
<updated>2017-06-13T13:17:59+00:00</updated>
<author>
<name>Giles Cope</name>
<email>gilescope@gmail.com</email>
</author>
<published>2017-06-13T13:17:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1ec1b1f1eb1bd0ea1f9396ade1015d00f9149a1d'/>
<id>urn:sha1:1ec1b1f1eb1bd0ea1f9396ade1015d00f9149a1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>run rustfmt on test/run-fail folder</title>
<updated>2016-06-05T18:51:14+00:00</updated>
<author>
<name>Srinivas Reddy Thatiparthy</name>
<email>thatiparthysreenivas@gmail.com</email>
</author>
<published>2016-05-27T02:39:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=73ef372f6381f6f1453743aa3fc5b39d2df65895'/>
<id>urn:sha1:73ef372f6381f6f1453743aa3fc5b39d2df65895</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Remove #[old_orphan_check] from PartialEq</title>
<updated>2015-03-31T20:39:14+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-11T00:59:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5cf126ae2f6af1cdac901f6995e3c2bab35e587f'/>
<id>urn:sha1:5cf126ae2f6af1cdac901f6995e3c2bab35e587f</id>
<content type='text'>
This is a deprecated attribute that is slated for removal, and it also affects
all implementors of the trait. This commit removes the attribute and fixes up
implementors accordingly. The primary implementation which was lost was the
ability to compare `&amp;[T]` and `Vec&lt;T&gt;` (in that order).

This change also modifies the `assert_eq!` macro to not consider both directions
of equality, only the one given in the left/right forms to the macro. This
modification is motivated due to the fact that `&amp;[T] == Vec&lt;T&gt;` no longer
compiles, causing hundreds of errors in unit tests in the standard library (and
likely throughout the community as well).

cc #19470
[breaking-change]
</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>std: Rename Show/String to Debug/Display</title>
<updated>2015-01-21T06:36:13+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-01-20T23:45:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3cb9fa26ef9905c00a29ea577fb55a12a91c8e7b'/>
<id>urn:sha1:3cb9fa26ef9905c00a29ea577fb55a12a91c8e7b</id>
<content type='text'>
This commit is an implementation of [RFC 565][rfc] which is a stabilization of
the `std::fmt` module and the implementations of various formatting traits.
Specifically, the following changes were performed:

[rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0565-show-string-guidelines.md

* The `Show` trait is now deprecated, it was renamed to `Debug`
* The `String` trait is now deprecated, it was renamed to `Display`
* Many `Debug` and `Display` implementations were audited in accordance with the
  RFC and audited implementations now have the `#[stable]` attribute
  * Integers and floats no longer print a suffix
  * Smart pointers no longer print details that they are a smart pointer
  * Paths with `Debug` are now quoted and escape characters
* The `unwrap` methods on `Result` now require `Display` instead of `Debug`
* The `Error` trait no longer has a `detail` method and now requires that
  `Display` must be implemented. With the loss of `String`, this has moved into
  libcore.
* `impl&lt;E: Error&gt; FromError&lt;E&gt; for Box&lt;Error&gt;` now exists
* `derive(Show)` has been renamed to `derive(Debug)`. This is not currently
  warned about due to warnings being emitted on stage1+

While backwards compatibility is attempted to be maintained with a blanket
implementation of `Display` for the old `String` trait (and the same for
`Show`/`Debug`) this is still a breaking change due to primitives no longer
implementing `String` as well as modifications such as `unwrap` and the `Error`
trait. Most code is fairly straightforward to update with a rename or tweaks of
method calls.

[breaking-change]
Closes #21436
</content>
</entry>
<entry>
<title>core: split into fmt::Show and fmt::String</title>
<updated>2015-01-06T22:49:42+00:00</updated>
<author>
<name>Sean McArthur</name>
<email>sean.monstar@gmail.com</email>
</author>
<published>2014-12-20T08:09:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=44440e5c18a1dbcc9685866ffffe00c508929079'/>
<id>urn:sha1:44440e5c18a1dbcc9685866ffffe00c508929079</id>
<content type='text'>
fmt::Show is for debugging, and can and should be implemented for
all public types. This trait is used with `{:?}` syntax. There still
exists #[derive(Show)].

fmt::String is for types that faithfully be represented as a String.
Because of this, there is no way to derive fmt::String, all
implementations must be purposeful. It is used by the default format
syntax, `{}`.

This will break most instances of `{}`, since that now requires the type
to impl fmt::String. In most cases, replacing `{}` with `{:?}` is the
correct fix. Types that were being printed specifically for users should
receive a fmt::String implementation to fix this.

Part of #20013

[breaking-change]
</content>
</entry>
<entry>
<title>test: Rename files, fail -&gt; panic.</title>
<updated>2014-11-11T17:36:12+00:00</updated>
<author>
<name>Michael Sproul</name>
<email>micsproul@gmail.com</email>
</author>
<published>2014-11-11T17:36:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f0b9d4465f7b1b3655cb4b80c7fe894cd6ef641'/>
<id>urn:sha1:7f0b9d4465f7b1b3655cb4b80c7fe894cd6ef641</id>
<content type='text'>
</content>
</entry>
</feed>
