Jorge Aparicio
aa921b6162
libcore: use unboxed closures in ExactSizeIterator
methods
2014-12-13 17:03:45 -05:00
Jorge Aparicio
b3cd05642c
libcollections: fix unit tests
2014-12-13 17:03:45 -05:00
Jorge Aparicio
10a14d5f04
Fix run-pass tests
2014-12-13 17:03:45 -05:00
Jorge Aparicio
5a9047b9b3
librustc: fix fallout
2014-12-13 17:03:45 -05:00
Jorge Aparicio
fee500d312
libregex: fix fallout
2014-12-13 17:03:45 -05:00
Jorge Aparicio
5e9ca5b255
libcore: use unboxed closures in IteratorExt
methods
2014-12-13 17:03:45 -05:00
Jorge Aparicio
216bcfd66b
libcore: use unboxed closures in the fields of Unfold
2014-12-13 17:03:45 -05:00
Jorge Aparicio
a50c587242
libcoretest: fix fallout
2014-12-13 17:03:45 -05:00
Jorge Aparicio
7e3493e5e3
libcore: use unboxed closures in the fields of Inspect
2014-12-13 17:03:45 -05:00
Jorge Aparicio
a051ba1dff
libcore: use unboxed closures in the fields of FlatMap
2014-12-13 17:03:45 -05:00
Jorge Aparicio
ba480cbf75
libcore: use unboxed closures in the fields of Scan
2014-12-13 17:03:44 -05:00
Jorge Aparicio
e2724cb1d5
libcore: use unboxed closures in the fields of TakeWhile
2014-12-13 17:03:44 -05:00
Jorge Aparicio
0cfdc99c71
libcore: use unboxed closures in the fields of SkipWhile
2014-12-13 17:03:44 -05:00
Jorge Aparicio
ca001e1bd0
librustdoc: fix fallout
2014-12-13 17:03:44 -05:00
Jorge Aparicio
c3fe7105ba
libstd: fix fallout
2014-12-13 17:03:44 -05:00
Jorge Aparicio
4f6f6af281
libcollections: fix fallout
2014-12-13 17:03:44 -05:00
Jorge Aparicio
eede5d2bce
libcore: use unboxed closures in the fields of FilterMap
2014-12-13 17:03:44 -05:00
Jorge Aparicio
80a04b1aed
librustc_trans: fix fallout
2014-12-13 17:03:44 -05:00
Jorge Aparicio
e66ba15764
libunicode: fix fallout
2014-12-13 17:03:44 -05:00
Jorge Aparicio
801ae1333c
libcore: use unboxed closures in the fields of Filter
2014-12-13 17:03:44 -05:00
Jorge Aparicio
44b419b820
librustc_trans: fix fallout
2014-12-13 17:03:44 -05:00
Jorge Aparicio
fd06ef24bb
librustc: fix fallout
2014-12-13 17:03:44 -05:00
Jorge Aparicio
5e7469cfe1
libsyntax: fix fallout
2014-12-13 17:03:44 -05:00
Jorge Aparicio
d22acb77b2
libstd: fix fallout
2014-12-13 17:03:44 -05:00
Jorge Aparicio
0fcd730373
librustrt: fix fallout
2014-12-13 17:03:44 -05:00
Jorge Aparicio
f91d87e6a0
libcollections: fix fallout
2014-12-13 17:03:44 -05:00
Jorge Aparicio
1646d10edc
libcore: use unboxed closures in the fields of Map
2014-12-13 17:03:44 -05:00
Jorge Aparicio
19524f1ed1
libcore: use unboxed closures in Result
methods
2014-12-13 17:03:44 -05:00
Jorge Aparicio
135c4ab5fe
Fix compile fail tests
2014-12-13 17:03:44 -05:00
Jorge Aparicio
60b0dd533b
librustc_trans: fix fallout
2014-12-13 17:03:44 -05:00
Jorge Aparicio
56ecb51ba6
libcore: use unboxed closures in Option
methods
2014-12-13 17:03:44 -05:00
bors
567b90ff09
auto merge of #19582 : nikomatsakis/rust/crateification, r=alexcrichton
...
r? @alexcrichton
2014-12-13 20:02:15 +00:00
bors
2bfb64e525
auto merge of #19627 : steveklabnik/rust/testing_guide, r=cmr
2014-12-13 17:27:15 +00:00
Steve Klabnik
d4ea71dbc1
Revamped testing guide
2014-12-13 12:19:43 -05:00
bors
ce05ff5d4b
auto merge of #19695 : arthurtw/rust/master, r=steveklabnik
2014-12-13 15:22:16 +00:00
bors
1eccb54bd6
auto merge of #19685 : jbranchaud/rust/add-btreemap-iter-doctests, r=Gankro
2014-12-13 11:02:17 +00:00
Niko Matsakis
2854d1bfc2
Separate borrowck into its own crate and remove dead code as well.
2014-12-13 06:01:19 -05:00
bors
de64f85c6e
auto merge of #19671 : tbu-/rust/pr_doc_removetraitrefs, r=Gankro
...
This specifically means:
- `Deque`
- `Map`
- `Set`
2014-12-13 08:22:16 +00:00
bors
2d90b91b5d
auto merge of #19683 : nikomatsakis/rust/generalized-where-clauses, r=nrc
...
This patch does not itself enable generalized where clauses, but it lays the groundwork. Rather than storing a list of bounds per type parameter, the trait selection and other logic is now driven by a unified list of predicates. All predicate handling is now driven through a common interface. This also fixes a number of bugs where region predicates were being dropped on the floor. As a drive-by, this patch also fixes some bugs in the opt-out-copy feature flag.
That said, this patch does not change the parser or AST in any way, so we still *generate* the list of predicates by walking a list of bounds (and we still *store* the bounds on the `TypeParameterDef` and so on). Those will get patched in a follow-up.
The commits in this case are standalone; the first few are simple refactorings.
r? @nick29581
cc @aturon
2014-12-13 03:07:17 +00:00
Niko Matsakis
124e1e18cc
Improve comments and address nits.
2014-12-12 20:25:21 -05:00
Niko Matsakis
5f43899db4
Implement the astencode rules for predicates. These don't actually get
...
used by trans, but it's easy to do.
2014-12-12 20:25:21 -05:00
Niko Matsakis
97cf91aa30
Fix the opt-out-copy behavior so that values with dtor etc are considered affine
2014-12-12 20:25:21 -05:00
Niko Matsakis
07eebf6910
Remove diagnostic errors that were yielding warnings.
2014-12-12 20:25:21 -05:00
Niko Matsakis
9f492fefef
Switch to using predicates to drive checking. Correct various tests --
...
in most cases, just the error message changed, but in some cases we
are reporting new errors that OUGHT to have been reported before but
we're overlooked (mostly involving the `'static` bound on `Send`).
2014-12-12 20:25:21 -05:00
Niko Matsakis
2be6c4f1ca
Write code for registering region obligations (but don't use it yet).
2014-12-12 20:24:34 -05:00
Niko Matsakis
9409bd9ff8
Introduce predicates but don't use them.
2014-12-12 20:24:34 -05:00
Niko Matsakis
70be49d2c7
Move the list of region obligations into the fulfillment context.
2014-12-12 20:24:34 -05:00
Niko Matsakis
9bdd7f0040
Thread a id to Obligation
2014-12-12 20:24:34 -05:00
Niko Matsakis
4efaddf7c9
Start restructuring to support generalized where clauses etc.
2014-12-12 20:24:34 -05:00
bors
8c66927242
auto merge of #19664 : tbu-/rust/pr_oibit2_fix, r=Gankro
...
These probably happened during the merge of the commit that made `Copy` opt-in.
Also, convert the last occurence of `/**` to `///` in `src/libstd/num/strconv.rs`
2014-12-13 00:27:15 +00:00