- 28 8月, 2013 30 次提交
-
-
由 bors 提交于
r? @brson
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
This is only for implementations defined in the same crate as the trait they implement.
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
This does not implement lazy symbol resolution yet.
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
10% win or so for small crates.
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
This removes the stacking of type parameters that occurs when invoking trait methods, and fixes all places in the standard library that were relying on it. It is somewhat awkward in places; I think we'll probably want something like the `Foo::<for T>::new()` syntax.
-
由 Patrick Walton 提交于
For example, `foo::<T>::bar::<U>`. This doesn't enforce that the type parameters are in the right positions, however.
-
由 Patrick Walton 提交于
They are still present as part of the borrow check.
-
由 bors 提交于
I've added a testcase, as mentioned in #5783
-
由 bors 提交于
Fixes for #8625 to prevent assigning to `&mut` in borrowed or aliasable locations. The old code was insufficient in that it failed to catch bizarre cases like `& &mut &mut`. r? @pnkfelix
-
由 bors 提交于
`target_library_in_workspace` is imported but unused: ~/rust/src/librustpkg/tests.rs:21:48: 21:75 warning: unused import [-W unused-imports (default)]
-
由 bors 提交于
-
由 Florian Hahn 提交于
-
由 Niko Matsakis 提交于
-
由 Daniel Micay 提交于
-
由 Daniel Micay 提交于
-
由 Daniel Micay 提交于
-
由 bors 提交于
`UnsafeAtomicRcBox` → `UnsafeArc` (#7674), and `AtomicRcBoxData` → `ArcData` to reflect this. Also, the inner pointer of `UnsafeArc` is now `*mut ArcData`, which avoids some transmutes to `~`: i.e. less chance of mistakes.
-
由 Niko Matsakis 提交于
-
由 bors 提交于
As for now, rekillable is an unsafe function, instead, it should behave just like unkillable by encapsulating unsafe code within an unsafe block. This patch does that and removes unsafe blocks that were encapsulating rekillable calls throughout rust's libs. Fixes #8232
-
由 Flaper Fesp 提交于
-
由 Daniel Micay 提交于
-
由 bors 提交于
Closes #6002 There is consensus that the current implementation should be changed or removed, so removing it seems like the right decision for now.
-
由 Daniel Micay 提交于
Closes #6002 There is consensus that the current implementation should be changed or removed, so removing it seems like the right decision for now.
-
- 27 8月, 2013 10 次提交
-
-
由 bors 提交于
Fix #6887. (or rather, a bug injected by my prior commit for fixing that bug.)
-
由 bors 提交于
-
由 Adrien Tétar 提交于
-
由 bors 提交于
-
由 Huon Wilson 提交于
This means that fewer `transmute`s are required, so there is less chance of a `transmute` not having the corresponding `forget` (possibly leading to use-after-free, etc).
-
由 bors 提交于
This callstack changed when the FFI did. I am still a little frightened by this suppression. cc #8253
-
由 Felix S. Klock II 提交于
-
由 Huon Wilson 提交于
-
由 bors 提交于
r? anyone. Now, rustpkg --version does something useful!
-
由 Flaper Fesp 提交于
-