<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/run-pass/const-extern-function.rs, branch 1.12.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.12.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.12.1'/>
<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>Fix fallout from changes. In cases where stage0 compiler is needed, we</title>
<updated>2014-12-22T17:27:07+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2014-11-26T10:52:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f6177e64627110e5b9776bd5304d65806081390'/>
<id>urn:sha1:7f6177e64627110e5b9776bd5304d65806081390</id>
<content type='text'>
cannot use an `as` expression to coerce, so I used a one-off function
instead (this is a no-op in stage0, but in stage1+ it triggers
coercion from the fn pointer to the fn item type).
</content>
</entry>
<entry>
<title>std: Change assert_eq!() to use {} instead of {:?}</title>
<updated>2014-03-01T07:01:54+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-02-28T09:23:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=02882fbd7edcb8d0d152afcdc8571216efcbd664'/>
<id>urn:sha1:02882fbd7edcb8d0d152afcdc8571216efcbd664</id>
<content type='text'>
Formatting via reflection has been a little questionable for some time now, and
it's a little unfortunate that one of the standard macros will silently use
reflection when you weren't expecting it. This adds small bits of code bloat to
libraries, as well as not always being necessary. In light of this information,
this commit switches assert_eq!() to using {} in the error message instead of
{:?}.

In updating existing code, there were a few error cases that I encountered:

* It's impossible to define Show for [T, ..N]. I think DST will alleviate this
  because we can define Show for [T].
* A few types here and there just needed a #[deriving(Show)]
* Type parameters needed a Show bound, I often moved this to `assert!(a == b)`
* `Path` doesn't implement `Show`, so assert_eq!() cannot be used on two paths.
  I don't think this is much of a regression though because {:?} on paths looks
  awful (it's a byte array).

Concretely speaking, this shaved 10K off a 656K binary. Not a lot, but sometime
significant for smaller binaries.
</content>
</entry>
<entry>
<title>fix various warnings</title>
<updated>2013-08-30T22:10:55+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2013-08-30T22:06:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=91d6c60bed2c5d574ca524ab4812f731118cd22d'/>
<id>urn:sha1:91d6c60bed2c5d574ca524ab4812f731118cd22d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change type of extern fns from `*u8` to `extern "ABI" fn`</title>
<updated>2013-08-21T14:50:37+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2013-08-21T13:27:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=82a9abbf624daaaca0c9761ee1bea6097472975c'/>
<id>urn:sha1:82a9abbf624daaaca0c9761ee1bea6097472975c</id>
<content type='text'>
cc #3678
</content>
</entry>
<entry>
<title>test: Update tests and import the prelude in some more places.</title>
<updated>2013-05-23T04:57:10+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2013-05-22T00:24:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ee52865c8848657e737e3c2071728b062ec9c8de'/>
<id>urn:sha1:ee52865c8848657e737e3c2071728b062ec9c8de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: Fix tests.</title>
<updated>2013-05-23T04:57:02+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2013-05-15T21:10:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=db518ef68abdbf6ef05693dc492147ce5ec7219e'/>
<id>urn:sha1:db518ef68abdbf6ef05693dc492147ce5ec7219e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use assert_eq! rather than assert! where possible</title>
<updated>2013-05-19T12:16:02+00:00</updated>
<author>
<name>Corey Richardson</name>
<email>corey@octayn.net</email>
</author>
<published>2013-05-19T02:02:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cc57ca012a1f49875e19b1b089c91928dc339979'/>
<id>urn:sha1:cc57ca012a1f49875e19b1b089c91928dc339979</id>
<content type='text'>
</content>
</entry>
<entry>
<title>librustc: Remove `fail_unless!`</title>
<updated>2013-03-29T23:39:08+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2013-03-29T01:39:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e91595520d0538e6003dc9186f1b0df5c25b77a'/>
<id>urn:sha1:1e91595520d0538e6003dc9186f1b0df5c25b77a</id>
<content type='text'>
</content>
</entry>
</feed>
