| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-06-28 | librustc: Match trait self types exactly. | Patrick Walton | -1/+4 | |
| This can break code that looked like: impl Foo for Box<Any> { fn f(&self) { ... } } let x: Box<Any + Send> = ...; x.f(); Change such code to: impl Foo for Box<Any> { fn f(&self) { ... } } let x: Box<Any> = ...; x.f(); That is, upcast before calling methods. This is a conservative solution to #5781. A more proper treatment (see the xfail'd `trait-contravariant-self.rs`) would take variance into account. This change fixes the soundness hole. Some library changes had to be made to make this work. In particular, `Box<Any>` is no longer showable, and only `Box<Any+Send>` is showable. Eventually, this restriction can be lifted; for now, it does not prove too onerous, because `Any` is only used for propagating the result of task failure. This patch also adds a test for the variance inference work in #12828, which accidentally landed as part of DST. Closes #5781. [breaking-change] | ||||
| 2013-11-24 | Remove linked failure from the runtime | Alex Crichton | -1/+1 | |
| The reasons for doing this are: * The model on which linked failure is based is inherently complex * The implementation is also very complex, and there are few remaining who fully understand the implementation * There are existing race conditions in the core context switching function of the scheduler, and possibly others. * It's unclear whether this model of linked failure maps well to a 1:1 threading model Linked failure is often a desired aspect of tasks, but we would like to take a much more conservative approach in re-implementing linked failure if at all. Closes #8674 Closes #8318 Closes #8863 | ||||
| 2013-08-17 | Fix warnings it tests | Erick Tryzelaar | -1/+0 | |
| 2013-06-10 | std: remove str::{len, slice, is_empty} in favour of methods. | Huon Wilson | -1/+1 | |
| 2013-05-29 | librustc: Stop reexporting the standard modules from prelude. | Patrick Walton | -0/+3 | |
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -1/+1 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -1/+1 | |
| 2012-12-10 | Reliciense makefiles and testsuite. Yup. | Graydon Hoare | -0/+10 | |
| 2012-07-14 | Move the world over to using the new style string literals and types. Closes ↵ | Michael Sullivan | -1/+1 | |
| #2907. | ||||
| 2012-01-08 | make spawned fn copy mode so that bare fns can be used | Niko Matsakis | -0/+11 | |
