| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-07-15 | Move some `compile-fail` tests to `ui` | Esteban Küber | -21/+0 | |
| 2017-11-12 | update failing E0621 tests | Cengiz Can | -1/+1 | |
| 2014-08-27 | Implement generalized object and type parameter bounds (Fixes #16462) | Niko Matsakis | -1/+1 | |
| 2014-07-19 | librustc: Implement lifetime elision. | Patrick Walton | -1/+1 | |
| This implements RFC 39. Omitted lifetimes in return values will now be inferred to more useful defaults, and an error is reported if a lifetime in a return type is omitted and one of the two lifetime elision rules does not specify what it should be. This primarily breaks two uncommon code patterns. The first is this: unsafe fn get_foo_out_of_thin_air() -> &Foo { ... } This should be changed to: unsafe fn get_foo_out_of_thin_air() -> &'static Foo { ... } The second pattern that needs to be changed is this: enum MaybeBorrowed<'a> { Borrowed(&'a str), Owned(String), } fn foo() -> MaybeBorrowed { Owned(format!("hello world")) } Change code like this to: enum MaybeBorrowed<'a> { Borrowed(&'a str), Owned(String), } fn foo() -> MaybeBorrowed<'static> { Owned(format!("hello world")) } Closes #15552. [breaking-change] | ||||
| 2014-02-11 | test -- update tests with new error messages | Niko Matsakis | -1/+1 | |
| 2013-12-11 | Make 'self lifetime illegal. | Erik Price | -2/+2 | |
| Also remove all instances of 'self within the codebase. This fixes #10889. | ||||
| 2013-03-26 | librustc: Modify all code to use new lifetime binder syntax | Patrick Walton | -1/+1 | |
| 2013-03-06 | Add manual &self/ and &static/ and /&self declarations that | Niko Matsakis | -1/+1 | |
| are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations. | ||||
| 2013-02-14 | librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵ | Patrick Walton | -1/+1 | |
| rs=implflipping | ||||
| 2012-12-10 | Reliciense makefiles and testsuite. Yup. | Graydon Hoare | -0/+10 | |
| 2012-12-06 | Test cases, some xfailed | Tim Chevalier | -0/+11 | |
