Commit Graph

34644 Commits

Author SHA1 Message Date
bors
321488b675 auto merge of #18752 : jakub-/rust/remove-unit, r=eddyb
Closes https://github.com/rust-lang/rust/issues/18614.
2014-11-16 14:27:08 +00:00
Jakub Bukaj
c425ed2a8d Update the reference 2014-11-16 14:23:15 +01:00
Jakub Bukaj
28b1b2ec39 Update tests accordingly 2014-11-16 14:23:15 +01:00
Jakub Bukaj
eb01b17b06 Complete the removal of ty_nil, ast::LitNil, ast::TyBot and ast::TyUniq
[breaking-change]

This will break any uses of macros that assumed () being a valid literal.
2014-11-16 14:23:15 +01:00
Niko Matsakis
08d6774f39 Try to remove ty_nil, some kind of error in exhaustiveness checking 2014-11-16 14:23:14 +01:00
bors
0c7a3d6c16 auto merge of #18978 : jakub-/rust/roll-up, r=cmr 2014-11-16 11:27:35 +00:00
Jakub Bukaj
892d4e28f4 Fix doctests 2014-11-16 12:22:40 +01:00
Jakub Bukaj
3ee9f0df54 Fix warnings 2014-11-16 10:40:34 +01:00
Jakub Bukaj
b22afe9ee7 rollup merge of #18990: alfie/master 2014-11-16 10:22:43 +01:00
Jakub Bukaj
a9f9e80de5 rollup merge of #18989: alex/fix-typos 2014-11-16 10:22:35 +01:00
Jakub Bukaj
086b2974de rollup merge of #18985: alexcrichton/issue-18900 2014-11-16 10:22:28 +01:00
Jakub Bukaj
94c8bb4696 rollup merge of #18979: inrustwetrust/codegen-options-parsing 2014-11-16 10:22:00 +01:00
Jakub Bukaj
4c30cb2564 rollup merge of #18976: bjz/rfc369-numerics 2014-11-16 10:21:42 +01:00
Jakub Bukaj
42c77f4958 rollup merge of #18970: aturon/fixup-stable 2014-11-16 10:21:33 +01:00
Jakub Bukaj
f3fd09a6f5 rollup merge of #18965: cmr/master 2014-11-16 10:21:18 +01:00
Jakub Bukaj
c01c6e2cac rollup merge of #18964: coyotebush/rustdoc-print 2014-11-16 10:21:11 +01:00
Jakub Bukaj
c46b5b5314 rollup merge of #18960: stepancheg/cell-default 2014-11-16 10:21:01 +01:00
Jakub Bukaj
f7be5966dc rollup merge of #18949: tomjakubowski/tojson-str 2014-11-16 10:20:35 +01:00
Jakub Bukaj
12144098eb rollup merge of #18948: barosl/doc-encodable-fix 2014-11-16 10:20:28 +01:00
Jakub Bukaj
b45dbfbd2b rollup merge of #18942: jbcrail/tree-set-docs 2014-11-16 10:20:10 +01:00
Jakub Bukaj
c7fc332a22 rollup merge of #18941: reem/better-task-pool 2014-11-16 10:20:03 +01:00
Jakub Bukaj
0d97b95d43 rollup merge of #18935: jmesmon/cody/no-vendor-triplle 2014-11-16 10:19:47 +01:00
Jakub Bukaj
ecf765d97b rollup merge of #18933: IanConnolly/doc-fake-rust 2014-11-16 10:19:22 +01:00
sheroze1123
f3a33ab4e8 Conformed the 100 char limit and changed colon to semicolon 2014-11-16 00:12:52 -05:00
bors
cb51567e19 auto merge of #18788 : ricky26/rust/master, r=aturon
This moves chars() and lines() out of Buffer and into separate traits (CharsBuffer and LinesBuffer respectively) - this matches the pattern used for bytes() on Reader (with BytesReader).

(I came across this when I wanted a trait object of a Buffer, so that I could use read_line(); rustc errors about std::io::Buffer not being object-safe.)

[breaking-change]
Any uses of Buffer::lines() will need to use the new trait std::io::LinesBuffer.
The same is true for Buffer::chars() with std::io::CharsBuffer.
2014-11-16 04:37:36 +00:00
Alfie John
a8933973f9 doc: make end comment consistent with start comment 2014-11-16 04:12:43 +00:00
Steven Fackler
579c65da1b Un-feature gate struct variants
Struct variant field visibility is now inherited. Remove `pub` keywords
from declarations.

Closes #18641

[breaking-change]
2014-11-15 18:15:27 -08:00
Brendan Zabarauskas
d82a7ea57a Move ToString to collections::string
This also impls `FormatWriter` for `Vec<u8>`
2014-11-16 12:41:55 +11:00
Brendan Zabarauskas
59abf75d9e Move IntoString to collections::string 2014-11-16 12:41:55 +11:00
Brendan Zabarauskas
2d8ca045d6 Rename IntoStr to IntoString
For consistancy with ToString
2014-11-16 12:41:55 +11:00
Brendan Zabarauskas
8b156724a3 Remove use of deprecated function 2014-11-16 12:41:55 +11:00
Brendan Zabarauskas
68bd495f0b Remove core::num::strconv 2014-11-16 12:41:55 +11:00
Brendan Zabarauskas
29bc9c632e Move FromStr to core::str 2014-11-16 12:41:55 +11:00
Jauhien Piatlicki
e889f8091a Look for standard crates in LIBDIR provided by --libdir option,
not in hardcoded libdir path. If there was no LIBDIR provided
during configuration fallback to hardcoded paths.

Thanks to Jan Niklas Hasse for solution and to Alex Crichton for improvements.

Closes #11671
2014-11-16 01:01:11 +01:00
Alfie John
c5232615b6 doc: small grammar fix 2014-11-15 23:17:36 +00:00
Alex Gaynor
e94cd40f7e Fixed several typos 2014-11-15 15:00:47 -08:00
Alex Crichton
3e0368e621 std: Fix a flaky test on OSX 10.10
This test was somewhat sketchy already with a `loop` around `write`, so this
just adds some explicit synchronization to only call `write` once and guarantee
that the error happens.

Closes #18900
2014-11-15 11:23:40 -08:00
sheroze1123
4aab27bed6 Fix for issue #17574 2014-11-15 14:05:11 -05:00
Colin Sherratt
6277e3b2d9 Update ring_buf.rs from fallout of #18827. 2014-11-15 12:48:02 -05:00
inrustwetrust
3391ddda11 Slightly improved rustc error messages for invalid -C arguments 2014-11-15 14:51:22 +01:00
bors
7e43f419cb auto merge of #18924 : cakebaker/rust/fix_list, r=steveklabnik 2014-11-15 13:22:24 +00:00
bors
d3af16bdbb auto merge of #18922 : japaric/rust/for, r=jakub-
r? @alexcrichton
2014-11-15 11:37:21 +00:00
bors
bc0b6120c1 auto merge of #18901 : steveklabnik/rust/quickfix, r=alexcrichton
Small copy/paste error from the crates guide.
2014-11-15 07:12:27 +00:00
Aaron Turon
60741e0fa0 rustdoc: tweak stability summary counting
This commit slightly tweaks the counting of impl blocks and structs for
the stability summary (so that the block itself isn't counted for
inherent impls, and the fields aren't counted for structs).
2014-11-14 20:54:27 -08:00
Aaron Turon
4caffa8526 libs: fix #[stable] inheritance fallout
A recent change turned off inheritance for the #[stable] by default, but
failed to catch all the cases where this was being used in std. This
patch fixes that problem.
2014-11-14 20:39:41 -08:00
Dan Luu
0f11eb5479 Guide: add a pointer to play.rust-lang.org and explain how to run the code examples. 2014-11-14 22:16:25 -06:00
Liigo Zhuang
8347450ee6 libstd: improve os::args() doc 2014-11-15 10:01:59 +08:00
Corey Richardson
5416901cca librustc: use type parameters less vigorously when giving the IR type names 2014-11-14 19:26:25 -05:00
Corey Ford
ccbda288d2 Hide interactive elements when printing rustdoc
Hide the search form and expand/collapse buttons, since they aren't useful when printed.
2014-11-14 15:48:05 -08:00
bors
d91a015ab4 auto merge of #18894 : ArtemGr/rust/patch-1, r=pnkfelix
A typo about Results being panics crawled in. Fixing it.
2014-11-14 23:37:27 +00:00