Nick Cameron
6252af9ce1
save-analysis: emit the crate root
2015-11-04 10:16:06 +13:00
bors
708e319f80
Auto merge of #29545 - mystor:vec-deque-test-panic, r=bluss
...
I think this should fix the test failures in debug mode from #29492
The assertion was written incorrectly, and I don't like the way the new assertion is written, but I _think_ it does the right thing now.
2015-11-03 21:12:03 +00:00
Brian Anderson
48c170df36
doc: Link to cargo docs, not just crates.io
2015-11-03 12:55:03 -08:00
Brian Anderson
6ca0fa9af2
doc: Add the Rustonomicon
2015-11-03 12:52:18 -08:00
Brian Anderson
53fad90608
doc: Remove community info
2015-11-03 12:49:21 -08:00
Brian Anderson
f553292cf6
doc: Remove non-documentation tool links
2015-11-03 12:48:47 -08:00
Brian Anderson
be9afcca89
doc: Remove irrelevant info about rbe
2015-11-03 12:47:57 -08:00
Brian Anderson
ad900dae92
mk: Move some old docs to the deprecated list
2015-11-03 12:46:06 -08:00
bors
2a7bd082ac
Auto merge of #29532 - Ryman:cow_path, r=alexcrichton
2015-11-03 19:29:44 +00:00
Ariel Ben-Yehuda
ca04855a06
resolve: don't speculatively create freevars when resolving
...
Fixes #29522
2015-11-03 21:08:42 +02:00
Amanieu d'Antras
59c5191c21
Add test for inline asm indirect memory operands
2015-11-03 18:13:03 +00:00
Michael Layzell
26db71783f
Correct incorrect assertion in VecDeque::wrap_copy
2015-11-03 13:03:36 -05:00
angelsl
54d85b4f2f
Update compiler-rt
2015-11-04 01:41:46 +08:00
Kevin Butler
f57621535e
libcollections: DRY up a PartialEq impl for String
2015-11-03 17:41:42 +00:00
Kevin Butler
cc830ef18b
libstd: implement PartialEq<Path> for PathBuf and Cow<Path>
2015-11-03 17:41:42 +00:00
bors
de11d2aa83
Auto merge of #29529 - Ryman:rustdoc-cap-lints, r=alexcrichton
...
This sets the `cap-lints` setting to 'allow' for all doc compilations. There's precedent for this as rustdoc [already whitelists unstable code](https://github.com/rust-lang/rust/blob/master/src/librustdoc/core.rs#L112 ) when compiling documentation, with the expectation being that a regular compile will complain about any problems. I think the same justification applies here.
Problem case in the wild: https://github.com/laumann/compiletest-rs/pull/28
r? @Manishearth
2015-11-03 17:02:13 +00:00
Amanieu d'Antras
1805e5fb48
Allow indirect operands to be used as inputs for inline asm
2015-11-03 15:19:46 +00:00
bors
4aa1f59e1e
Auto merge of #29515 - Manishearth:ice-itembody, r=eddyb
...
r? @eddyb or @nrc
2015-11-03 15:19:07 +00:00
Manish Goregaokar
6468292c35
Fix ICE with unresolved associated items in closures ( fixes #28971 )
2015-11-03 20:09:20 +05:30
bors
c143ae7764
Auto merge of #29495 - meqif:fix_unindent_tabs, r=steveklabnik
...
A line may be indented with either spaces or tabs, but not a mix of both. If there is a mix of tabs and spaces, only the kind that occurs first is counted.
This addresses issue #29268 .
2015-11-03 13:34:09 +00:00
Jake Goulding
b0ca039233
Mention what iterator terminators do with an empty iterator
2015-11-03 08:25:56 -05:00
Steve Klabnik
75a6d51750
Make some edits as per No Starch.
...
Lots of little details and things.
2015-11-03 13:56:06 +01:00
Bruno Tavares
bf7c92038e
Closes #24954
2015-11-03 10:20:45 -02:00
bors
f18c905163
Auto merge of #29535 - Toby-S:patch-1, r=steveklabnik
...
This basically just inlines the fatal! macro from BurntSushi's [blog post](http://blog.burntsushi.net/rust-error-handling/#argument-parsing ).
cc @steveklabnik
2015-11-03 11:51:34 +00:00
Toby Scrace
d9df16bf61
Fix #29533
...
This replaces usage of the (missing) `fatal!` macro with `panic!`.
2015-11-03 11:46:05 +00:00
Niko Matsakis
544b06d455
Add a MIR visitor
2015-11-03 06:34:23 -05:00
Kevin Butler
7690ec89ff
libstd: implement From<&Path|PathBuf> for Cow<Path>
2015-11-03 11:25:34 +00:00
Seo Sanghyeon
61e5b6dfdb
Warn unused_assignments for arguments
2015-11-03 19:04:36 +09:00
bors
5b87225deb
Auto merge of #29509 - vadimcn:readme, r=alexcrichton
...
The current readme provides critical information about gcc versions too late in the flow.
r? @steveklabnik
2015-11-03 10:01:06 +00:00
Niko Matsakis
e84829d51d
Plumbing to omit allocas for temps when possible (currently unused)
2015-11-03 04:35:00 -05:00
Niko Matsakis
02017b30eb
New trans codepath that builds fn body from MIR instead.
2015-11-03 04:35:00 -05:00
Niko Matsakis
877b93add2
Move shifting code out of expr and into somewhere more accessible
2015-11-03 04:35:00 -05:00
Niko Matsakis
81ff2c2f8e
Change adt case handling fn to be less tied to match
2015-11-03 04:35:00 -05:00
Niko Matsakis
0a62158a4e
Add helper methods that require tcx; these compute types of
...
lvalues and operands
2015-11-03 04:35:00 -05:00
Niko Matsakis
044096b3e9
Change Call operands to be, well, Operands
2015-11-03 04:35:00 -05:00
Niko Matsakis
3ab29d3378
Add adt_def into Switch, since it's convenient to have in trans
2015-11-03 04:35:00 -05:00
Niko Matsakis
b5d3580843
Move the "HAIR" code that reads the tcx tables etc out of the tcx
...
module and into `hair/cx`, now that we don't have a trait defining
the interface
2015-11-03 04:35:00 -05:00
Niko Matsakis
3c07b46118
Pass the mir map to trans
2015-11-03 04:34:59 -05:00
Niko Matsakis
15c1da4e27
Convert from using named fields to always using indices
2015-11-03 04:34:59 -05:00
Niko Matsakis
1e30f3e52b
Change ShallowDrop to Free, so that it matches what trans will do
2015-11-03 04:34:59 -05:00
Niko Matsakis
88a9c3e764
Build the MIR using the liberated fn sigs, and track the return type
2015-11-03 04:34:59 -05:00
Niko Matsakis
6d7c66e6e8
Introduce a "liberated fn sigs" map so that we have easy access to this
...
information when constructing MIR.
2015-11-03 04:34:59 -05:00
Oliver Schneider
b9eaceebb2
fix ice in fn call const evaluation
2015-11-03 10:34:11 +01:00
bors
eacd35984b
Auto merge of #29459 - tshepang:simplify, r=steveklabnik
2015-11-03 08:18:45 +00:00
bors
fffe075708
Auto merge of #29523 - durka:patch-9, r=alexcrichton
...
`Rc::try_unwrap` and `Rc::make_mut` are stable since 1.4.0, but the example code still has `#![feature(rc_unique)]`. Ideally the stable and beta docs would be updated, but I don't think that's possible :(
2015-11-03 06:34:53 +00:00
bors
3330f54198
Auto merge of #29514 - apasel422:issue-26220, r=alexcrichton
...
Closes #26220 .
r? @alexcrichton
2015-11-03 04:52:12 +00:00
bors
b7fbfb658e
Auto merge of #29285 - eefriedman:libsyntax-panic, r=nrc
...
A set of commits which pushes some panics out of core parser methods, and into users of those parser methods.
2015-11-03 03:06:03 +00:00
Bruno Tavares
58e2baa109
Closes #28586
2015-11-02 23:52:37 -02:00
bors
749625ad6d
Auto merge of #29500 - vadimcn:rustlib, r=alexcrichton
...
According to a recent [discussion on IRC](https://botbot.me/mozilla/rust-tools/2015-10-27/?msg=52887517&page=2 ), there's no good reason for Windows builds to store target libraries under `bin`, when on every other platform they are under `lib`.
This might be a [breaking-change] for some users. I am pretty sure VisualRust has that path hard-coded somewhere.
r? @brson
2015-11-03 01:23:10 +00:00
Amit Saha
900f36fde3
Specify Microsoft Windows and Mac OS X explicitly
...
When referring to the different shared library extensions, specify the OS explicitly.
2015-11-03 10:50:20 +11:00