| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-12-08 | librustc: Make `Copy` opt-in. | Niko Matsakis | -0/+2 | |
| This change makes the compiler no longer infer whether types (structures and enumerations) implement the `Copy` trait (and thus are implicitly copyable). Rather, you must implement `Copy` yourself via `impl Copy for MyType {}`. A new warning has been added, `missing_copy_implementations`, to warn you if a non-generic public type has been added that could have implemented `Copy` but didn't. For convenience, you may *temporarily* opt out of this behavior by using `#![feature(opt_out_copy)]`. Note though that this feature gate will never be accepted and will be removed by the time that 1.0 is released, so you should transition your code away from using it. This breaks code like: #[deriving(Show)] struct Point2D { x: int, y: int, } fn main() { let mypoint = Point2D { x: 1, y: 1, }; let otherpoint = mypoint; println!("{}{}", mypoint, otherpoint); } Change this code to: #[deriving(Show)] struct Point2D { x: int, y: int, } impl Copy for Point2D {} fn main() { let mypoint = Point2D { x: 1, y: 1, }; let otherpoint = mypoint; println!("{}{}", mypoint, otherpoint); } This is the backwards-incompatible part of #13231. Part of RFC #3. [breaking-change] | ||||
| 2014-04-06 | Remove check-fast. Closes #4193, #8844, #6330, #7416 | Brian Anderson | -1/+0 | |
| 2014-02-11 | Change `xfail` directives in compiletests to `ignore`, closes #11363 | Florian Hahn | -2/+2 | |
| 2013-07-17 | librustc: Add a lint mode for unnecessary `copy` and remove a bunch of them. | 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-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -2/+2 | |
| 2013-02-22 | test: De-mut the test suite. rs=demuting | Patrick Walton | -5/+6 | |
| 2013-02-22 | Remove legacy_modes from test cases | Brian Anderson | -4/+3 | |
| 2013-02-01 | check-fast fallout from removing export, r=burningtree | Graydon Hoare | -1/+1 | |
| 2013-01-26 | testsuite: Eliminate uses of structural records from most run-pass tests | Tim Chevalier | -2/+4 | |
| Except the pipes tests (that needs a snapshot) | ||||
| 2012-12-10 | Reliciense makefiles and testsuite. Yup. | Graydon Hoare | -0/+10 | |
| 2012-09-19 | xfail-fast another legacy_mode test | Brian Anderson | -0/+1 | |
| 2012-09-18 | rustc: Remove legacy mode inference, unless #[legacy_modes] is used | Patrick Walton | -0/+2 | |
| 2012-03-26 | Bulk-edit mutable -> mut. | Graydon Hoare | -2/+2 | |
| 2011-09-12 | Properly implement copy expressions | Marijn Haverbeke | -1/+12 | |
| (And use them in some places that were doing {expr} before.) | ||||
| 2011-08-20 | Reformat | Brian Anderson | -5/+1 | |
| This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[] | ||||
| 2011-08-15 | Add operator 'copy', translates as fall-through. | Graydon Hoare | -0/+5 | |
