James Miller
85e3c96236
Remove the slow bb-vectorize pass
2013-05-31 09:01:13 -04:00
bors
030f471f26
auto merge of #6853 : bblum/rust/sized, r=pcwalton
...
r? @nikomatsakis @pcwalton
2013-05-31 02:01:44 -07:00
bors
1dd5cd9731
auto merge of #6833 : fdr/rust/fix-warnings, r=Aatch
...
Fix a laundry list of warnings involving unused imports that glutted
up compilation output. There are more, but there seems to be some
false positives (where 'remedy' appears to break the build), but this
particular set of fixes seems safe.
2013-05-31 00:43:45 -07:00
bors
6fcb483609
auto merge of #6848 : pcwalton/rust/issue-6352, r=pcwalton
...
r? @nikomatsakis
2013-05-30 23:31:48 -07:00
Alex Crichton
e86ac24e7b
Implement unimplemented methods in ebml
2013-05-31 00:28:17 -05:00
Alex Crichton
a25c7045c1
Rewrite deriving(Decodable, Encodable)
...
Now it uses the generic deriving code and should in theory work in all cases.
2013-05-30 23:48:35 -05:00
bors
727274375e
auto merge of #6845 : thestinger/rust/zsh-complete, r=graydon
...
I'll do the other commands and the `rust` wrapper later.
![sample completion](http://i.imgur.com/Y1IFCWi.png )
2013-05-30 21:34:47 -07:00
bors
f8cef24b5e
auto merge of #6841 : steveklabnik/rust/range_docs, r=thestinger
2013-05-30 20:28:48 -07:00
bors
3869f7a99c
auto merge of #6818 : nikomatsakis/rust/irrefut-patterns-refactoring, r=graydon
...
Various bug fixes and simplifications I did as part of a patch to fix `let` patterns.
r? @catamorphism
2013-05-30 19:04:52 -07:00
Alex Crichton
d01c7d0d42
Fix a bug with HashMap::consume
2013-05-30 20:45:14 -05:00
Alex Crichton
aed53f9bf0
Promote unreachable code to being a lint attribute
2013-05-30 20:45:13 -05:00
Ben Blum
5113f68a86
Add simple tests for Sized
2013-05-30 21:41:41 -04:00
Ben Blum
32cd9b3274
Highlight Sized in vim and kate
2013-05-30 21:41:41 -04:00
Ben Blum
b8a53b5a4c
Add 'Sized' builtin kind; doesn't do anything yet
2013-05-30 21:41:41 -04:00
Patrick Walton
40b455792d
librustc: Bump the offset when translating const structs. Closes #6352 .
2013-05-30 18:17:32 -07:00
Niko Matsakis
ce5fd30270
Fix parser test
2013-05-30 21:01:25 -04:00
bors
237dce12c9
auto merge of #6689 : graydon/rust/issue-5661-doc-test-targets, r=graydon
...
Re-enables `make check-stage2-doc-tutorial` and friends. r? @brson
2013-05-30 17:22:49 -07:00
bors
308774e05b
auto merge of #6340 : graydon/rust/issue-2994, r=graydon
2013-05-30 16:04:47 -07:00
Daniel Micay
a9c3b3885d
add a zsh completion file for rustc
2013-05-30 18:52:23 -04:00
Graydon Hoare
858ca2e3c8
fix the check-stageN-doc-$doc targets, close #5661
2013-05-30 15:49:53 -07:00
bors
9bfe296eb7
auto merge of #6836 : pnkfelix/rust/fsk-issue6805-ccache-rewrite-basedir, r=catamorphism
...
Attempt to get reuse of common object code from multiple clones in different directories.
This is a followup to issue #6805 .
2013-05-30 14:58:47 -07:00
Steve Klabnik
220e1a6cfc
Add example for uint::range_step.
2013-05-30 14:35:07 -07:00
Niko Matsakis
21951e503d
Correct issue-2804 test
2013-05-30 16:55:50 -04:00
Graydon Hoare
2bed5dc528
rustc: change 'use' to 'add' in error message, fix #2994
2013-05-30 13:45:53 -07:00
Daniel Farina
aef1e10eba
Remove unnecessary 'use' forms
...
Fix a laundry list of warnings involving unused imports that glutted
up compilation output. There are more, but there seems to be some
false positives (where 'remedy' appears to break the build), but this
particular set of fixes seems safe.
2013-05-30 13:08:18 -07:00
bors
784a8495d2
auto merge of #6835 : cmr/rust/clang, r=thestinger
...
current svn version is 3.4
2013-05-30 12:41:09 -07:00
Niko Matsakis
9c7eb068e5
Replace NDM with proper FIXME
2013-05-30 15:20:36 -04:00
Niko Matsakis
7a1a40890d
Remove copy bindings from patterns.
2013-05-30 15:20:36 -04:00
Niko Matsakis
5209709e46
Fix matching of rvalues with destructors
...
Fixes #4542 .
2013-05-30 15:20:36 -04:00
bors
a39429887a
auto merge of #6831 : Xazax-hun/rust/incoming, r=graydon
...
Minor doc enhancement for: https://github.com/mozilla/rust/issues/4543
2013-05-30 10:37:46 -07:00
Corey Richardson
594f40ecbe
bump clang version
2013-05-30 13:33:52 -04:00
Felix S. Klock II
7f410b326c
Attempt to get reuse of common code from multiple clones in different directories.
2013-05-30 16:26:12 +02:00
Niko Matsakis
c492a2126f
Remove some spurious copies that are identified by later patches
2013-05-30 09:54:39 -04:00
Niko Matsakis
7dfb865339
Remove local_imm/local_mem since all variables are now by reference
2013-05-30 09:54:38 -04:00
Niko Matsakis
2616581863
Refactor helper routines to be less tied to match syntax
2013-05-30 09:47:15 -04:00
Niko Matsakis
dcd84901c6
Remove TrByImplicitRef and source field on datums
2013-05-30 09:47:14 -04:00
Gábor Horváth
0d9ea4e2d1
Minor grammar fix.
2013-05-30 15:26:25 +02:00
Gábor Horváth
9fd18a93b7
Minor style fix.
2013-05-30 15:24:08 +02:00
Gábor Horváth
e583d5a6b6
Minor documentation addition.
2013-05-30 15:20:30 +02:00
bors
682afcac52
auto merge of #6829 : dotdash/rust/allocs, r=sanxiyn
2013-05-30 04:49:37 -07:00
Björn Steinbrink
1720d9f663
Remove a bunch of unnecessary allocations and copies
2013-05-30 11:49:04 +02:00
bors
ca74cbdc5c
auto merge of #6798 : alexcrichton/rust/doc-lints, r=pcwalton
...
These commits perform a variety of actions:
1. The linting of missing documentation has been consolidated under one `missing_doc` attribute, and many more things are linted about.
2. A test was added for linting missing documentation, which revealed a large number of corner cases in both linting and the `missing_doc` lint pass. Some notable edge cases:
* When compiling with `--test`, all `missing_doc` warnings are suppressed
* If any parent of the current item has `#[doc(hidden)]`, then the `missing_doc` warning is suppressed
3. Both the std and extra libraries were modified to `#[deny(missing_doc)]` by default.
I believe that the libraries are getting to the point where they're fairly well documented, and they should definitely stay that way. If developing a particular new module, it's easy enough to add `#[allow(missing_doc)]` at the top, but those should definitely be flags for removal in favor of actual documentation.
I added as much documentation as I could throughout std/extra, although I avoided trying to document things that I knew nothing about. I can't say that this lint pass will vouch for the quality of the documentation of std/extra, but it will certainly make sure that there's at least some describing words.
That being said, I may have a different opinion, so I don't mind amending these commits to turn off the lint by default for std/extra if people think otherwise.
2013-05-30 00:37:35 -07:00
Alex Crichton
395685079a
libextra: Require documentation by default
2013-05-30 01:03:15 -05:00
Alex Crichton
007651cd26
Require documentation by default for libstd
...
Adds documentation for various things that I understand.
Adds #[allow(missing_doc)] for lots of things that I don't understand.
2013-05-30 01:02:55 -05:00
Alex Crichton
4a5d887b58
Allow doc(hidden) and --test to disable doc linting
2013-05-30 01:02:55 -05:00
Alex Crichton
af995ce1e7
Make missing documentation linting more robust
...
Add some more cases for warning about missing documentation, and also add a test
to make sure it doesn't die in the future.
2013-05-30 01:02:55 -05:00
bors
31b2804fda
auto merge of #6825 : caitp/rust/issue-6824, r=Aatch
...
Show `int_suffix_size` to appear 0 or 1 times
Show `exponent | . dec_lit` to appear 0 or 1 times, to show why `3f;` is a valid number
2013-05-29 22:58:35 -07:00
James Miller
3a3bf8bdef
Remove all of the #[inline(always)]
attributes from bigint
2013-05-29 22:21:55 -07:00
Patrick Walton
e67bfabbf7
etc: Fix more check-fast breakage. rs=burningtree
2013-05-29 22:17:21 -07:00
Caitlin Potter
bfe141c4e1
Fixes #6824 - Correct scan_number() grammar
...
Show `int_suffix_size` to appear 0 or 1 times
Show `exponent | . dec_lit` to appear 0 or 1 times, to show why `3f;` is a valid number
2013-05-30 00:51:16 -04:00