| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-02-28 | std: Change assert_eq!() to use {} instead of {:?} | Alex Crichton | -2/+2 | |
| 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. | ||||
| 2013-08-30 | fix various warnings | Erick Tryzelaar | -4/+2 | |
| 2013-08-21 | Change type of extern fns from `*u8` to `extern "ABI" fn` | Niko Matsakis | -4/+6 | |
| cc #3678 | ||||
| 2013-05-22 | test: Update tests and import the prelude in some more places. | Patrick Walton | -1/+1 | |
| 2013-05-22 | test: Fix tests. | Patrick Walton | -1/+1 | |
| 2013-05-19 | Use assert_eq! rather than assert! where possible | Corey Richardson | -2/+2 | |
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -2/+2 | |
| 2013-03-22 | librustc: Remove the `const` declaration form everywhere | Patrick Walton | -2/+2 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -2/+2 | |
| 2013-02-14 | librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵ | Patrick Walton | -1/+1 | |
| rs=implflipping | ||||
| 2013-02-01 | check-fast fallout from removing export, r=burningtree | Graydon Hoare | -1/+1 | |
| 2013-01-22 | Add test case for change in 039bfe | Tim Chevalier | -0/+2 | |
| 2013-01-22 | Translate const references to extern functions as *i8 instead of the typical ↵ | Josh Matthews | -0/+21 | |
| closure pair. Fixes #4522. | ||||
