Jorge Aparicio
646083510a
libcollections: fix fallout in unit tests
2014-12-13 17:03:45 -05:00
Jorge Aparicio
4d4915aa28
librustdoc: fix fallout
2014-12-13 17:03:45 -05:00
Jorge Aparicio
cc242bcf47
libstd: fix fallout
2014-12-13 17:03:45 -05:00
Jorge Aparicio
50ef207253
libunicode: fix fallout
2014-12-13 17:03:45 -05:00
Jorge Aparicio
d3f5c1397c
libcore: impl CharEq for FnMut(char) -> bool implementors
2014-12-13 17:03:45 -05:00
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