Tobias Bucher
c5971a29da
Remove unneeded #[derive(Copy)]
...
It was introduced with the change that made copy opt-in. The
implementation gives a warning, because the struct contains a raw
pointer.
2015-11-19 16:00:54 +00:00
bors
28f6b88978
Auto merge of #29902 - huonw:smart-quotes, r=alexcrichton
...
cc https://github.com/rust-lang/rust/pull/29837#issuecomment-157540449
2015-11-18 10:58:04 +00:00
bors
1715f1cf7f
Auto merge of #29904 - Zoxc:ar_json, r=alexcrichton
...
This allows targets to drop the dependency on AR.
2015-11-18 07:13:39 +00:00
Huon Wilson
41f7f0c341
Add some unicode aliases for ".
2015-11-18 17:16:32 +11:00
bors
8ed8679b2e
Auto merge of #29897 - alexcrichton:process-wait-with-output, r=brson
...
Previously this function used channels but this isn't necessary any more now
that threads have return values. This also has the added bonus of appropriately
waiting for the thread to exit to ensure that the function doesn't still have
running threads once it returns.
2015-11-18 04:00:43 +00:00
bors
50b969d3b2
Auto merge of #29882 - devonhollowood:master, r=Manishearth
...
Implement #14615
2015-11-18 02:02:00 +00:00
John Kåre Alsaker
9e1d9e4884
Expose archive_format to target specifications
2015-11-18 02:39:46 +01:00
bors
277416edcd
Auto merge of #29900 - steveklabnik:rollup, r=steveklabnik
...
- Successful merges: #29612 , #29888 , #29889 , #29890 , #29891 , #29892
- Failed merges:
2015-11-17 23:55:53 +00:00
Steve Klabnik
5c99fb78c6
Rollup merge of #29892 - steveklabnik:doc_fromiterator, r=alexcrichton
...
And modifying IntoIterator for consisntency with it.
Part of #29360
2015-11-17 18:13:06 -05:00
Steve Klabnik
6e4f6c8f5f
Rollup merge of #29891 - steveklabnik:gh29470, r=alexcrichton
...
Fixes #29470
2015-11-17 18:13:06 -05:00
Steve Klabnik
370b793969
Rollup merge of #29890 - steveklabnik:gh29742, r=Manishearth
...
FIxes #29742
2015-11-17 18:13:06 -05:00
Steve Klabnik
8adfcf1b7c
Rollup merge of #29889 - steveklabnik:gh29801, r=manishearth
...
First, re-word the section on if let/while let to be more clear.
Second, actually call them let statements in the statement section
Fixes #29801
2015-11-17 18:13:05 -05:00
Steve Klabnik
fb6687150c
Rollup merge of #29888 - steveklabnik:gh29762, r=sanxiyn
...
Fixes #29762
2015-11-17 18:13:05 -05:00
Steve Klabnik
cffd88110c
Rollup merge of #29612 - steveklabnik:gh29502, r=alexcrichton
...
libcore does have a few deps, like noted in https://github.com/rust-lang/rust/issues/29390
Fixes #29502
r? @alexcrichton
2015-11-17 18:13:05 -05:00
Steve Klabnik
9d663a3e4a
More docs for FromIterator
...
And modifying IntoIterator for consisntency with it.
Part of #29360
2015-11-17 18:12:50 -05:00
Steve Klabnik
60c84eed42
Remove claims of dependency-free libcore
...
libcore does have a few deps, like noted in https://github.com/rust-lang/rust/issues/29390
Fixes #29502
2015-11-17 18:04:36 -05:00
Steve Klabnik
cf384c21ea
Clear up the reference around let
...
First, re-word the section on if let/while let to be more clear.
Second, actually call them let statements in the statement section
Fixes #29801
2015-11-17 17:41:26 -05:00
bors
841e36eb21
Auto merge of #29797 - oli-obk:remove-fromb, r=nikomatsakis
...
the const evaluator has a bool constant value, no need to use integers
the `fromb` function is very old. It took me a while of git-blame until i found where it was created. I think it was just a hack. All tests still pass.
I also forbade `&&` and `||` on integral types
2015-11-17 22:12:07 +00:00
Alex Crichton
33353668fc
std: Use join() in Process::wait_with_output
...
Previously this function used channels but this isn't necessary any more now
that threads have return values. This also has the added bonus of appropriately
waiting for the thread to exit to ensure that the function doesn't still have
running threads once it returns.
2015-11-17 13:37:44 -08:00
Devon Hollowood
0823ee6940
Add changes to liblibc
2015-11-17 13:16:09 -08:00
bors
b2f539375a
Auto merge of #29887 - sanxiyn:match-ref-pats, r=sfackler
2015-11-17 20:10:25 +00:00
bors
b31cc644d1
Auto merge of #29766 - oli-obk:impl_item, r=nikomatsakis
...
[breaking change]
I'm not sure if those renames are ok. [TokenType::Tt* to TokenType::*](https://github.com/rust-lang/rust/pull/29582 ) was obvious, but for all those Item-enums it's less obvious to me what the right way forward is due to the underscore.
2015-11-17 18:24:19 +00:00
Steve Klabnik
9ca257a5b6
Fix up escapes in the reference
...
Fixes #29470
2015-11-17 11:54:20 -05:00
Steve Klabnik
dcf7e4da69
Clarify comment about structs and lifetimes
...
FIxes #29742
2015-11-17 11:42:17 -05:00
Steve Klabnik
0f5ba5459b
Mention libc from crates.io in TRPL: FFI
...
Fixes #29762
2015-11-17 11:12:57 -05:00
bors
8809a33c34
Auto merge of #29531 - bltavares:issue-28586, r=sanxiyn
...
Cloases #28586
2015-11-17 15:39:10 +00:00
Seo Sanghyeon
95f6ea920d
Fix match_ref_pats flagged by Clippy
2015-11-17 23:24:49 +09:00
Manish Goregaokar
e81c72e78e
Rollup merge of #29881 - jeanm:patch-1, r=Manishearth
...
Change conditional perfect to past perfect.
2015-11-17 15:12:15 +05:30
Manish Goregaokar
c063c521ec
Rollup merge of #29880 - dignati:fix-freebsd-libc, r=alexcrichton
...
With this change the build on FreeBSD is almost working again.
2015-11-17 15:12:15 +05:30
Manish Goregaokar
bf565467c0
Rollup merge of #29875 - steveklabnik:gh29784, r=Manishearth
...
Fixes #29784
2015-11-17 15:12:15 +05:30
Manish Goregaokar
e0adabf0ee
Rollup merge of #29874 - steveklabnik:gh29711, r=alexcrichton
...
in their API docs
Fixes #29711
2015-11-17 15:12:14 +05:30
Manish Goregaokar
ff2f74561d
Rollup merge of #29873 - steveklabnik:gh29493, r=nikomatsakis
...
Fixes #29493
2015-11-17 15:12:14 +05:30
Manish Goregaokar
98b18f5e8e
Rollup merge of #29868 - petrochenkov:gv, r=sanxiyn
...
r? @arielb1
2015-11-17 15:12:14 +05:30
Devon Hollowood
5e8225af91
Remove unused imports
2015-11-17 01:19:14 -08:00
Devon Hollowood
07e108f038
Remove 'raw_pointer_derive' lint ( #14615 )
2015-11-17 01:19:14 -08:00
Oliver Schneider
96cfac6301
add unit test for the new and the changed errors
2015-11-17 10:00:34 +01:00
bors
1b2614847d
Auto merge of #29837 - Wafflespeanut:unicode_chars, r=Manishearth
...
fixes #25957
2015-11-17 07:42:03 +00:00
Ravi Shankar
7f63c7cf4c
Detect confusing unicode characters and show the alternative
2015-11-17 12:14:28 +05:30
bors
c124cd523a
Auto merge of #29870 - petrochenkov:typaren, r=nrc
...
Like d21bfff78c , but for the type grammar.
r? @nrc
2015-11-17 05:55:07 +00:00
bors
3037b29a93
Auto merge of #29860 - steveklabnik:stackheapfixes, r=huonw
...
Fixes #29853
Fixes #29852
While these points are true, we're not going for 100% accuracy here,
this is introductory material. Changing these things would be more
confusing, but it is important to note that we're presenting an
abstraction here.
r? @huonw
2015-11-17 04:08:11 +00:00
Jean Maillard
4ff4d32206
Fix grammar
...
Change conditional perfect to past perfect.
2015-11-17 02:39:09 +00:00
Ole Krüger
8600fefd9c
Fix libc module name for FreeBSD
2015-11-17 01:53:06 +01:00
bors
a7644b33d9
Auto merge of #29297 - tbu-:pr_env_ignore_malformed, r=alexcrichton
...
Otherwise, the iterator and the functions for getting specific
environment variables might disagree, for environments like
FOOBAR
2015-11-17 00:31:20 +00:00
Steve Klabnik
e4a0b48027
Make note about traits that can be derived
...
in their API docs
Fixes #29711
2015-11-16 18:50:40 -05:00
Tobias Bucher
87243bcce8
Ignore malformed environment strings like glibc does
...
Otherwise, the iterator and the functions for getting specific
environment variables might disagree, for environments like
FOOBAR
Variable names starting with equals sign are OK:
glibc only interprets equals signs not in the first position as
separators between variable name and variable value. Instead of skipping
them entirely, a leading equals sign is interpreted to be part of the
variable name.
2015-11-16 23:32:36 +00:00
bors
9f49ea0f4b
Auto merge of #29872 - steveklabnik:rollup, r=steveklabnik
...
- Successful merges: #29549 , #29796 , #29843 , #29863 , #29865
- Failed merges:
2015-11-16 22:43:32 +00:00
Steve Klabnik
646128d79a
Remove nomicon reference to copy_lifetime
...
Fixes #29784
2015-11-16 16:58:52 -05:00
Steve Klabnik
9e25a1ccd3
Improve UFCS example
...
Fixes #29493
2015-11-16 16:51:58 -05:00
Steve Klabnik
0050895637
Rollup merge of #29865 - apasel422:mutex, r=alexcrichton
...
r? @alexcrichton
2015-11-16 16:22:48 -05:00
Steve Klabnik
bc6c16d4cb
Rollup merge of #29863 - steveklabnik:gh29526, r=alexcrichton
...
Fixes #29526
2015-11-16 16:22:48 -05:00