Aidan Hobson Sayers
b970bc2a79
Enable appveyor cache, add more paranoia
2017-04-04 23:41:38 +01:00
arthurprs
f07ebd6097
Simplify HashMap Bucket interface
...
* Store capacity_mask instead of capacity
* Move bucket index into RawBucket
* Bucket index is now always within [0..table_capacity)
* Clone RawTable using RawBucket
* Simplify iterators by moving logic into RawBuckets
* Make retain aware of the number of elements
2017-04-04 22:43:27 +02:00
Michael Gattozzi
c7f2dbef90
Change docs to follow review requests
2017-04-04 16:23:52 -04:00
Nathan Stocks
ea2bfae869
Branch arms need to match the return value even if it's not being assigned to anything
2017-04-04 13:50:24 -06:00
steveklabnik
086627ecd2
Fix links
...
part of https://github.com/rust-lang/rust/issues/40912
[]\n() is not actually a link.
2017-04-04 15:39:44 -04:00
Jason Orendorff
a45fedfa38
simplify implementation of [T]::splitn and friends #41020
2017-04-04 13:40:56 -05:00
Jason Orendorff
2e3f0d8451
add [T]::rsplit() and rsplit_mut() #41020
2017-04-04 13:40:26 -05:00
Alex Crichton
8c01ce3d25
std: Use poll
instead of select
...
This gives us the benefit of supporting file descriptors over the limit that
select supports, which...
Closes #40894
2017-04-04 10:52:58 -07:00
bors
2564711e80
Auto merge of #41059 - TimNN:rollup, r=TimNN
...
Rollup of 1 pull requests
- Successful merges: #40998
- Failed merges: #41045
2017-04-04 17:23:32 +00:00
QuietMisdreavus
5bffa0aa50
rustdoc: don't add a space before {
on traits with where clauses
...
cc #41025
2017-04-04 11:16:16 -05:00
Tim Neumann
b012adc354
update image name for DEPLOY_ALT
2017-04-04 18:14:14 +02:00
Niko Matsakis
a4d7c1fec3
push borrowck
into its own task
2017-04-04 12:06:35 -04:00
Niko Matsakis
a2a4fad6f7
kill Liveness
2017-04-04 11:59:05 -04:00
Esteban Küber
3409f8d7cd
Do not recommend private fields called as method
2017-04-04 08:58:27 -07:00
Stephen M. Coakley
cd14a323f4
Use derived Debug for ThreadId
2017-04-04 10:44:57 -05:00
QuietMisdreavus
6bc3d65948
rustdoc: properly indent fn signatures in traits
2017-04-04 10:31:57 -05:00
Niko Matsakis
a83734dd96
remove EffectCheck
2017-04-04 11:19:36 -04:00
Esteban Küber
dedb7bbbbf
Merge branch 'master' into issue-32540
2017-04-04 08:13:27 -07:00
Ariel Ben-Yehuda
60381cd9c2
cstore: return an immutable borrow from visible_parent_map
...
Fixes #41053 .
2017-04-04 18:11:03 +03:00
Niko Matsakis
f3b876c4b2
kill CheckStaticRecursion
2017-04-04 11:09:47 -04:00
Niko Matsakis
768e707878
kill the CheckLoops
DepNode
2017-04-04 11:09:44 -04:00
Taylor Cramer
aab2cca046
On-demandify reachability
2017-04-04 07:46:18 -07:00
Tim Neumann
dd7fc23a21
fix rollup
2017-04-04 15:46:48 +02:00
Tim Neumann
efdf05d91e
Merge remote-tracking branch 'hub/centos5-vault' into rollup
2017-04-04 15:43:07 +02:00
Tim Neumann
12e921d0bc
Rollup merge of #40998 - alexcrichton:split-dist, r=TimNN
...
travis: Split all dist builders in two
Previously we would use one builder on Travis to produce two sets of host
compilers for two different targets. Unfortunately though we've recently
increased how much we're building for each target so this is starting to take
unnecessarily long (#40804 ). This commit splits the dist builders in two by
ensuring that we only dist one target on each builder, which should take a much
shorter amount of time. This should also unblock other work such as landing the
RLS (#40584 ).
2017-04-04 15:41:17 +02:00
topecongiro
db60b0b374
Move 'coherence-overlapping-inherent-impl-trait' test to ui
2017-04-04 21:08:56 +09:00
topecongiro
09f42ee333
Move 'overlapping_inherent_impls' test to ui
2017-04-04 21:00:56 +09:00
Anatol Pomozov
6132fb83b4
Replace magic number with readable sig constant
...
SIG_ERR is defined as 'pub const SIG_ERR: sighandler_t = !0 as sighandler_t;'
2017-04-03 22:44:25 -07:00
Ryan Scott
e753dfa9a9
Fixed ICEs with pattern matching in const fn. Fixes #38199 , fixes #31577 , fixes #29093 , and fixes #40012 .
2017-04-04 14:16:25 +09:00
Nick Cameron
d76daf5c61
rebased
2017-04-04 16:08:00 +12:00
Nick Cameron
ccdbb31a47
save-analysis: index extern blocks
2017-04-04 15:56:47 +12:00
Nick Cameron
4143d409ee
save-analysis: only index path references once
2017-04-04 15:56:46 +12:00
topecongiro
018c5c9298
Make 'overlapping_inherent_impls' lint a hard error
2017-04-04 10:43:16 +09:00
Nathan Stocks
20cb7005b0
Handle options-with-arguments before subcommands such as './x.py -j 10 build' and detect pathological cases like './x.py --option-that-takes-argument clean build'
2017-04-03 19:15:31 -06:00
Bryan Tan
ab4f4428e7
Fix styling issues
2017-04-03 16:09:19 -07:00
Jeffrey Seyfried
6a9448b523
Fix bug parsing #[derive]
macro invocations.
2017-04-03 23:02:49 +00:00
Josh Stone
4d32ff4e49
Loosen src_is_git to just check exists()
2017-04-03 15:28:06 -07:00
Guillaume Gomez
b02cb1978c
Handle ordered lists as well
2017-04-04 00:24:08 +02:00
Tim Neumann
6dc8869f38
use fixed ip for vault.centos.org until updates have propagated to all mirrors
2017-04-03 22:51:06 +02:00
mandeep
5787808d07
Removed trailing whitespace on line 682
2017-04-03 15:48:12 -05:00
Josh Stone
e9cfc300a3
Only use cargo-vendor if building from git sources
2017-04-03 13:46:53 -07:00
Josh Stone
3fb1a849dd
Add a common Build::src_is_git flag
2017-04-03 13:46:50 -07:00
Tim Neumann
802c11c33e
switch to vault.centos.org
2017-04-03 22:14:45 +02:00
Alex Crichton
541512b0bf
travis: Split all dist builders in two
...
Previously we would use one builder on Travis to produce two sets of host
compilers for two different targets. Unfortunately though we've recently
increased how much we're building for each target so this is starting to take
unnecessarily long (#40804 ). This commit splits the dist builders in two by
ensuring that we only dist one target on each builder, which should take a much
shorter amount of time. This should also unblock other work such as landing the
RLS (#40584 ).
2017-04-03 12:30:06 -07:00
Guillaume Gomez
7a07a73eb1
Replace ^ with <sup> html balise
2017-04-03 21:17:47 +02:00
Stjepan Glavina
13c744f30d
Move libXtest into libX/tests
...
This change moves:
1. `libcoretest` into `libcore/tests`
2. `libcollectionstest` into `libcollections/tests`
This is a follow-up to #39561 .
2017-04-03 20:49:39 +02:00
Esteban Küber
73f6f5e096
Sort enum suggestions
2017-04-03 10:57:45 -07:00
Guillaume Gomez
e7c2160f8a
Fix mutex's docs inconsistency
2017-04-03 18:57:13 +02:00
mandeep
f74ca38686
Refactored swap_remove doc comment upon discussing with BurntSushi and steveklabnik
2017-04-03 09:51:34 -05:00
Cody P Schafer
9c1b7ae3f3
Revert "Implement AsRawFd/IntoRawFd for RawFd"
...
This reverts commit 2cf686f2cd
(#40842 )
RawFd is a type alias for c_int, which is itself a type alias for i32.
As a result, adding AsRawFd and IntoRawFd impls for RawFd actually adds
them for i32.
As a result, the reverted commit makes this valid:
```
use std::os::unix::io::AsRawFd;
fn arf<T: AsRawFd>(_: T) {}
fn main() {
arf(32i32)
}
```
Implimenting AsRawFd and IntoRawFd for i32 breaks the promises of both
those traits that their methods return a valid RawFd.
r? @aturon
cc @Mic92 @kamalmarhubi
2017-04-03 10:17:59 -04:00