about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2016-01-21[MIR] Promote temps to alloca on multi-assignmentSimonas Kazlauskas-9/+44
Fixes #31002
2016-01-20Auto merge of #31038 - gereeter:btree-panic, r=Gankrobors-2/+2
…ving elements into it. Fixes #31029.
2016-01-20Auto merge of #30894 - antrik:debug-mpsc, r=brsonbors-0/+69
Minimal fix for https://github.com/rust-lang/rust/issues/30563 This covers all the public structs I think; except for Iter and IntoIter, which I don't know if or how they should be handled.
2016-01-19In BTreeMap's merge function, adjust the length of the node before moving ↵Jonathan S-2/+2
elements into it.
2016-01-19Auto merge of #30820 - oli-obk:docs/wrapping_ops, r=alexcrichtonbors-50/+43
r? @steveklabnik
2016-01-19Auto merge of #30696 - steveklabnik:gh30655, r=brsonbors-0/+10
Fixes #30655
2016-01-19Auto merge of #31018 - gutworth:doc-loc, r=alexcrichtonbors-1/+1
2016-01-19Auto merge of #30845 - nagisa:mir-extern-calls, r=dotdashbors-13/+109
Supersedes https://github.com/rust-lang/rust/pull/30517 Fixes https://github.com/rust-lang/rust/issues/29575 cc @luqmana r? @nikomatsakis
2016-01-19[MIR] Implement extern call supportSimonas Kazlauskas-13/+109
2016-01-19Auto merge of #31014 - nrc:fmt-term, r=sfacklerbors-6/+6
2016-01-19fix the docs and simplify the implementation of unsigned wrapping opsOliver Schneider-50/+43
2016-01-19Auto merge of #31015 - nrc:fmt-test, r=sfacklerbors-510/+519
2016-01-18fix path to region inference documentationBenjamin Peterson-1/+1
2016-01-19manual fixupsNick Cameron-20/+13
2016-01-19rustfmt libtestNick Cameron-522/+538
2016-01-19rustfmt libtermNick Cameron-6/+6
2016-01-19Auto merge of #31013 - nrc:fmt-rbml, r=sfacklerbors-450/+505
2016-01-19manual fixupsNick Cameron-10/+23
2016-01-19rustfmt librbmlNick Cameron-468/+510
2016-01-18Auto merge of #31006 - Manishearth:rollup, r=Manishearthbors-35/+37
- Successful merges: #30981, #30982, #30986, #30987, #30988, #30990, #30998 - Failed merges:
2016-01-19Rollup merge of #31008 - barosl:typo, r=blussManish Goregaokar-2/+2
2016-01-19Rollup merge of #30998 - apasel422:btree-set-variance, r=GankroManish Goregaokar-19/+19
CC #30642 r? @Gankro
2016-01-19Rollup merge of #30988 - bluss:doc-space-t-bound, r=apasel422Manish Goregaokar-9/+9
Fix spacing style of `T: Bound` in docs The space between `T` and `Bound` is the typical style used in code and produced by rustdoc's rendering. Fixed first in Reflect's docs and then I fixed all occurrences in docs I could find.
2016-01-19Rollup merge of #30986 - sliz1:book-macro, r=alexcrichtonManish Goregaokar-3/+5
Sorry for nitpicking, but I think the example of the expanded macro should be wrapped inside a pair of curly braces to match the macro definition. Also the current example triggers a variable redefinition error.
2016-01-19Rollup merge of #30981 - boblehest:tmp, r=alexcrichtonManish Goregaokar-2/+2
Original: #30968 (My first PR was targeting the wrong branch)
2016-01-19Fix typoBarosl Lee-2/+2
2016-01-18Auto merge of #30987 - antonblanchard:powerpc64_merge3, r=alexcrichtonbors-0/+2
We currently pass generic as the CPU to LLVM. This results in worse than required code generation. On little endian, which is only POWER8, we avoid many POWER4 and newer instructions. Pass ppc64 and ppc64le instead.
2016-01-18Auto merge of #31000 - bluss:efficient-clone-from-slice, r=dotdashbors-2/+7
Restore indexed formulation of clone_from_slice For good codegen here, we need a lock step iteration where the loop bound is only checked once per iteration; .zip() unfortunately does not optimize this way. If we use a counted loop, and make sure that llvm sees that the bounds check condition is the same as the loop bound condition, the bounds checks are optimized out. For this reason we need to slice `from` (apparently) redundantly. This commit restores the old formulation of clone_from_slice. In this shape, clone_from_slice will again optimize into calling memcpy where possible (for example for &[u8] or &[i32]).
2016-01-18core: Restore indexed formulation of clone_from_sliceUlrik Sverdrup-2/+7
For good codegen here, we need a lock step iteration where the loop bound is only checked once per iteration; .zip() unfortunately does not optimize this way. If we use a counted loop, and make sure that llvm sees that the bounds check condition is the same as the loop bound condition, the bounds checks are optimized out. For this reason we need to slice `from` (apparently) redundantly. This commit restores the old formulation of clone_from_slice. In this shape, clone_from_slice will again optimize into calling memcpy where possible (for example for &[u8] or &[i32]).
2016-01-18Auto merge of #30956 - KiChjang:move-tests-to-libcollectionstest, r=blussbors-30/+41
Encountered while I was trying to work on #28518. Please let me know whether this is a correct move.
2016-01-18Make `btree_set::{IntoIter, Iter, Range}` covariantAndrew Paseltiner-19/+19
CC #30642
2016-01-18Auto merge of #30996 - oli-obk:fix/load_range_assert, r=nagisabors-10/+8
it makes no sense here, accidentally introduced in #30931 r? @dotdash
2016-01-18revert using `trans::Disr` in `LoadRangeAssert`Oliver Schneider-10/+8
it makes no sense here, accidentally introduced in #30931
2016-01-18Auto merge of #30953 - KalitaAlexey:17823-get-rid-of-duplicate-error, r=nrcbors-112/+22
2016-01-18simplify E0308 message for primitive typeskalita.alexey-112/+22
2016-01-18Auto merge of #30980 - gereeter:fix-btree-iter-variance, r=apasel422bors-17/+118
This takes the approach of making `NodeRef` universally covariant. Fixes #30979.
2016-01-18Auto merge of #30973 - SimonSapin:patch-16, r=alexcrichtonbors-4/+4
I don’t understand what the "flow information" of an IPv6 address is, but it looks separate from the scope ID. This was probably a copy/paste error.
2016-01-17Auto merge of #30964 - GuillaumeGomez:patch-5, r=Manishearthbors-1/+88
r? @Manishearth
2016-01-17Fix spacing style of `T: Bound` in docsUlrik Sverdrup-9/+9
The space between `T` and `Bound` is the typical style used in code and produced by rustdoc's rendering. Fixed first in Reflect's docs and then I fixed all occurrences in docs I could find.
2016-01-17Fix C macro exampleStephen (Ziyun) Li-3/+5
2016-01-17Fix LLVM default CPU on powerpc64 and powerpc64leAnton Blanchard-0/+2
We currently pass generic as the CPU to LLVM. This results in worse than required code generation. On little endian, which is only POWER8, we avoid many POWER4 and newer instructions. Pass ppc64 and ppc64le instead.
2016-01-17Expand the macro in variance-btree-invariant-types.rs to make compiletest ↵Jonathan S-36/+43
recognize that it should error
2016-01-17Auto merge of #30978 - nikomatsakis:fulfillment-tree-add-fixme, r=aturonbors-1/+1
r? @aturon
2016-01-17Fix and test variance of BTreeMap and its companion structs.Jonathan S-17/+111
2016-01-17Move zst test from libcollections to src/testKeith Yeung-30/+41
2016-01-17Add E0507 error explanationGuillaume Gomez-1/+88
2016-01-17Auto merge of #30975 - Manishearth:rollup, r=Manishearthbors-249/+416
- Successful merges: #30938, #30940, #30943, #30949, #30952, #30957, #30959 - Failed merges:
2016-01-17add fixme number into codeNiko Matsakis-1/+1
2016-01-17Rollup merge of #30959 - bluss:bench-resolution, r=GankroManish Goregaokar-2/+1
test: Increase resolution of MB/s stat for bench runs close to 1 second MB/s was based on the number of iterations performed in a second, when the iteration duration nears 1 second (1e9 ns), the resolution of the MB/s stat decreases.
2016-01-17Rollup merge of #30957 - GuillaumeGomez:patch-3, r=apasel422Manish Goregaokar-1/+1
r? @Manishearth