Commit graph

32412 commits

Author SHA1 Message Date
Brian Koropoff
fc3bd12a79 Add regression test for issue #17373 2014-09-20 00:18:55 -07:00
Brian Koropoff
a92c3fb3ed Disallow index of !
This avoids ICEs in later passes that cannot cope with this construct
2014-09-20 00:18:54 -07:00
Brian Koropoff
c48faaff64 Disallow dereference of !
Later compiler passes are not prepared to deal with deref of
`ty_bot` and will generate various ICEs, so disallow it outright for now.

Closes issue #17373
2014-09-20 00:18:54 -07:00
Brian Koropoff
31f6d45a18 Do not attempt to autoderef !
This prevents error spam when attempting to look up overload traits.
2014-09-20 00:18:08 -07:00
bors
3b6e880fff auto merge of #17393 : brson/rust/win32trip, r=alexcrichton
This will hopefully fix the win32 nightlies.
2014-09-19 17:15:47 +00:00
Brian Anderson
12cb0bfcf4 Fix detection of win32 triple
This will hopefully fix the win32 nightlies.
2014-09-19 09:06:25 -07:00
bors
af3889f697 auto merge of #17330 : brson/rust/bot-house-cleaning, r=alexcrichton
Both these things were transitionary until bot upgrades.
2014-09-18 21:20:38 +00:00
Patrick Walton
9c41064308 jemalloc: Un-revert accidentally reverted jemalloc 2014-09-18 13:40:15 -07:00
Brian Anderson
d53f80dcd6 mk: Remove check-fast target 2014-09-18 11:49:03 -07:00
Brian Anderson
48b5378b5a configure: Remove support for i686-pc-mingw32 triple 2014-09-18 11:49:03 -07:00
bors
482e7788c7 auto merge of #17249 : vadimcn/rust/env-keys, r=alexcrichton
Closes #16937
2014-09-18 17:05:35 +00:00
bors
d485e87c57 auto merge of #17364 : thestinger/rust/debuginfo, r=pnkfelix
Closes #13611
2014-09-18 11:05:38 +00:00
bors
49dd8e8c36 auto merge of #17349 : aturon/rust/rt-experimental, r=alexcrichton
The `std::rt` module was marked `unstable` [a while back](b6d4d117f4), and this change was not reverted when we moved to an `experimental` baseline for `std`.
2014-09-18 08:25:38 +00:00
Vadim Chugunov
8b84911120 Pacify lint gods. 2014-09-17 23:40:27 -07:00
bors
35be9b817d auto merge of #17341 : alexcrichton/rust/unignore, r=brson
I've confirmed that these are working on the snapshot builders

Closes #16919
2014-09-18 05:50:38 +00:00
Daniel Micay
98fff20a7c stop clamping the DWARF version to 3 on Linux
Closes #13611
2014-09-18 01:10:12 -04:00
bors
28407b6ff0 auto merge of #17335 : TeXitoi/rust/relicense-shootout, r=brson
Everyone agreed.  Fix #17064, fix #17072 

@brson OK?
2014-09-18 03:20:39 +00:00
bors
9508faa227 auto merge of #16377 : pcwalton/rust/associated-items, r=nikomatsakis
This is waiting on an RFC, but this basic functionality should be
straightforward. The implementation essentially desugars during type
collection and AST type conversion time into the parameter scheme we
have now.

r? @nikomatsakis
2014-09-17 23:45:36 +00:00
Patrick Walton
78a841810e librustc: Implement associated types behind a feature gate.
The implementation essentially desugars during type collection and AST
type conversion time into the parameter scheme we have now. Only fully
qualified names--e.g. `<T as Foo>::Bar`--are supported.
2014-09-17 16:38:57 -07:00
bors
8067f4425d auto merge of #17331 : kballard/rust/rust_log_pattern_inverted, r=alexcrichton
RUST_LOG supports regex filtering of log messages with a syntax like
`RUST_LOG=main/foo` to use the regex filter 'foo'. Unfortunately, the
filter was inverted, so `RUST_LOG=main/foo` would actually show all
messages except the ones containing 'foo'.
2014-09-17 21:15:38 +00:00
Kevin Ballard
e7b257089c Fix the inverted RUST_LOG filter
RUST_LOG supports regex filtering of log messages with a syntax like
`RUST_LOG=main/foo` to use the regex filter 'foo'. Unfortunately, the
filter was inverted, so `RUST_LOG=main/foo` would actually show all
messages except the ones containing 'foo'.
2014-09-17 13:26:26 -07:00
Aaron Turon
4ef9e1eca2 Remove unstable marker from std::rt
The `std::rt` module was marked `unstable` [a while
back](b6d4d117f4),
and this change was not reverted when we moved to an `experimental`
baseline for `std`.
2014-09-17 11:55:07 -07:00
bors
b88d1030e1 auto merge of #17343 : alexcrichton/rust/rollup, r=alexcrichton 2014-09-17 18:26:14 +00:00
Alex Crichton
3a54a4ee6b Test fixes from the rollup 2014-09-17 09:37:39 -07:00
bors
4d2af38611 auto merge of #16836 : P1start/rust/closure_ret_bang, r=alexcrichton
Fixes #13490.
2014-09-17 15:51:11 +00:00
Alex Crichton
665e759d5a rollup merge of #17333 : mo/drop_unused_diagnostic_codes 2014-09-17 08:50:16 -07:00
Alex Crichton
60d2689ab2 rollup merge of #17329 : alexcrichton/snapshots 2014-09-17 08:50:05 -07:00
Alex Crichton
3cf43aeb4f rollup merge of #17326 : brson/wintest 2014-09-17 08:50:04 -07:00
Alex Crichton
4a7665c808 rollup merge of #17312 : Manishearth/builtin-shrink 2014-09-17 08:49:46 -07:00
Alex Crichton
498e35aa87 rollup merge of #17311 : jakub-/issue-17302 2014-09-17 08:49:41 -07:00
Alex Crichton
2278f9575d rollup merge of #17310 : nikomatsakis/type-bounds-generalize-to-multiple-object-bounds 2014-09-17 08:49:39 -07:00
Alex Crichton
df34b082ab rollup merge of #17309 : aturon/deprecate-libnum 2014-09-17 08:49:37 -07:00
Alex Crichton
d76f51c264 rollup merge of #17297 : treeman/net-unix 2014-09-17 08:49:33 -07:00
Alex Crichton
1921055dda rollup merge of #17294 : theevocater/master 2014-09-17 08:49:31 -07:00
Alex Crichton
9dfcb41926 rollup merge of #17292 : thestinger/tasks 2014-09-17 08:49:28 -07:00
Alex Crichton
f4da040e62 rollup merge of #17290 : bkoropoff/issue-17283 2014-09-17 08:49:26 -07:00
Alex Crichton
04c537ff56 rollup merge of #17285 : brson/relchan 2014-09-17 08:49:21 -07:00
Alex Crichton
6f575d1b9c rollup merge of #17281 : saysjonathan/missing-semicolon 2014-09-17 08:49:12 -07:00
Alex Crichton
e65f6714b0 rollup merge of #17279 : jakub-/for-loop-unused-variable 2014-09-17 08:49:10 -07:00
Alex Crichton
b27947ac4d rollup merge of #17278 : steveklabnik/gh17242 2014-09-17 08:49:08 -07:00
Alex Crichton
b4bff574d2 rollup merge of #17277 : steveklabnik/doc_fix_rollup 2014-09-17 08:49:06 -07:00
Alex Crichton
e8a3ac5cb0 rollup merge of #17276 : treeman/json-comma 2014-09-17 08:49:04 -07:00
Alex Crichton
27af691017 rollup merge of #17226 : P1start/rustdoc-colour 2014-09-17 08:48:53 -07:00
Alex Crichton
8875584363 rollup merge of #16936 : nham/two_way_makeover 2014-09-17 08:48:33 -07:00
Alex Crichton
e68c95329e rollup merge of #16931 : omasanori/unnecessary-path-brackets 2014-09-17 08:48:31 -07:00
Alex Crichton
fc6eb9a911 rollup merge of #16889 : P1start/array-not-vector 2014-09-17 08:48:27 -07:00
Alex Crichton
0515e71531 test: Un-ignore some GDB pretty printing tests
I've confirmed that these are working on the snapshot builders

Closes #16919
2014-09-17 07:50:30 -07:00
bors
ad9ed40e7f auto merge of #17264 : bkoropoff/rust/issue-17252, r=nick29581
Recursive items are currently detected in the `check_const` pass which runs after type checking.  This means a recursive static item used as an array length will cause type checking to blow the stack.  This PR separates the recursion check out into a separate pass which is run before type checking.

Closes issue #17252

r? @nick29581
2014-09-17 14:06:19 +00:00
bors
aac078dca5 auto merge of #17254 : gamazeps/rust/issue17210, r=alexcrichton
Closes #17210
2014-09-17 12:06:22 +00:00
bors
e719db24a0 auto merge of #17247 : huonw/rust/toggle-clone, r=alexcrichton
This needs a clone otherwise each successive insertion detaches `toggle`
from the previous position.

Fixes #17125.
2014-09-17 10:21:17 +00:00