| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-06-28 | librustc: Match trait self types exactly. | Patrick Walton | -3/+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] | ||||
| 2014-01-29 | Remove do keyword from test/ | Scott Lawrence | -2/+2 | |
| 2013-11-24 | Remove linked failure from the runtime | Alex Crichton | -2/+5 | |
| 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-10-22 | Drop the '2' suffix from logging macros | Alex Crichton | -1/+1 | |
| Who doesn't like a massive renaming? | ||||
| 2013-10-05 | Make a task name use a `SendStr`, allowing for either | Marvin Löbel | -0/+17 | |
| static or owned strings | ||||
