- 28 3月, 2014 17 次提交
-
-
由 bors 提交于
HashMap and HashSet require keys to implement TotalEq. This makes it possible to use TypeId as a HashMap key again. Question for reviewers: assuming we want to support `HashMap<TypeId, whatever>`, would it make sense to add a relevant test? If so, should it go to libcollections or libstd?
-
由 bors 提交于
-
由 bors 提交于
All of Decoder and Encoder's methods now return a Result. Encodable.encode() and Decodable.decode() return a Result as well. fixes #12292
-
由 bors 提交于
Fixes #13032
-
由 bors 提交于
-
由 Brian Anderson 提交于
-
由 Sean McArthur 提交于
All of Decoder and Encoder's methods now return a Result. Encodable.encode() and Decodable.decode() return a Result as well. fixes #12292
-
由 bors 提交于
The previous dependency calculation was based on an arbitrary set of asterisks at an arbitrary depth, but using the recursive version should be much more robust in figuring out what's dependent.
-
由 Alex Crichton 提交于
This reverts commit 7180b5de.
-
由 bors 提交于
See #10296 for the rationale, and commits for the implementation.
-
由 Brian Anderson 提交于
libuv.a always looks out of date to the makefile, causing make to always descend into the libuv makefile, even when there's nothing to build.
-
由 bors 提交于
A variety of stuff here, mostly aimed at making `make install` work correctly with `--libdir` and `--mandir`. `make install` again goes through `install.sh`.
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
This is all purely fallout of getting the previous commit to compile.
-
由 Alex Crichton 提交于
This commit removes implicitly adding the Send bound to ~Trait objects and procedure types. It will now be manually required to specify that a procedure or trait must be send-able. Closes #10296
-
由 bors 提交于
This bench is meant to exercise libgreen, not libnative. It recently caused the auto-linux-32-nopt-t bot to fail as no output was produced for an hour.
-
- 27 3月, 2014 21 次提交
-
-
由 bors 提交于
Closes #6751
-
由 Corey Richardson 提交于
We really do *not* want TCO to kick in. If it does, we'll never blow the stack, and never trigger the condition the test is checking for. To that end, do a meaningless alloc that serves only to get a destructor to run. The addition of nocapture/noalias seems to have let LLVM do more TCO, which hurt this testcase.
-
由 bors 提交于
The `_match.rs` takes advantage of passes prior to `trans` and aggressively prunes the sub-match tree based on exact equality. When it comes to literal or range, the strategy may lead to wrong result if there's guard function or multiple patterns inside tuple. Closes #12582. Closes #13027.
-
由 Corey Richardson 提交于
-
由 Corey Richardson 提交于
Closes #6751
-
由 Edward Wang 提交于
The `_match.rs` takes advantage of passes prior to `trans` and aggressively prunes the sub-match tree based on exact equality. When it comes to literal or range, the strategy may lead to wrong result if there's guard function or multiple patterns inside tuple. Closes #12582. Closes #13027.
-
由 Michael Darakananda 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 bors 提交于
The previous syntax was `Foo:Bound<trait-parameters>`, but this is a little ambiguous because it was being parsed as `Foo: (Bound<trait-parameters)` rather than `Foo: (Bound) <trait-parameters>` This commit changes the syntax to `Foo<trait-parameters>: Bound` in order to be clear where the trait parameters are going. Closes #9265
-
由 Brian Anderson 提交于
Instead of just looking for its presence we need to see if it actually contains rust stuffs.
-
由 Brian Anderson 提交于
-
由 bors 提交于
This change prepares `rustc` to accept private fields by default. These changes will have to go through a snapshot before the rest of the changes can happen.
-
由 Brian Anderson 提交于
The installed manifest is a different file, so they should have different names. This should prevent various wierd conflicts in the future.
-
由 Alex Crichton 提交于
The previous syntax was `Foo:Bound<trait-parameters>`, but this is a little ambiguous because it was being parsed as `Foo: (Bound<trait-parameters)` rather than `Foo: (Bound) <trait-parameters>` This commit changes the syntax to `Foo<trait-parameters>: Bound` in order to be clear where the trait parameters are going. Closes #9265
-
由 bors 提交于
Add some docs to ExpnInfo. Add a single overlooked `new_span` call to the folder (I'm pretty sure nothing reads this span, though, so it's probably pointless).
-
由 bors 提交于
Close #13057
-
由 Alex Crichton 提交于
This change is in preparation for #8122. Nothing is currently done with these visibility qualifiers, they are just parsed and accepted by the compiler. RFC: 0004-private-fields
-
由 Alex Crichton 提交于
This is a necessary change in preparation for switching the defaults as part of #8122. RFC: 0004-private-fields
-
由 Alex Crichton 提交于
This bench is meant to exercise libgreen, not libnative. It recently caused the auto-linux-32-nopt-t bot to fail as no output was produced for an hour.
-
由 bors 提交于
I touched up the documentation from @pcwalton found in #12952.
-
- 26 3月, 2014 2 次提交
-
-
由 Tomas Sedovic 提交于
HashMap and HashSet require keys to implement TotalEq. This makes it possible to use TypeId as a HashMap key again.
-
由 Huon Wilson 提交于
This was leaving Decls without the new spans; this is a minor change, since literally nothing reads in the code base reads the span of a Decl itself, always just its contents.
-