Jeff Walden
68c0f024cf
Change the typo 'that' to 'than' in the book error-handling chapter.
2015-12-27 00:24:45 -06:00
bors
2ced149925
Auto merge of #30566 - salty-horse:doc_typo, r=apasel422
...
Small typo. vectors -> vector.
2015-12-27 01:00:53 +00:00
bors
0c7c94e8a0
Auto merge of #30562 - nagisa:mir-unit-enums, r=luqmana
...
Thanks @arielb1!
r? @luqmana
2015-12-26 22:58:34 +00:00
Florian Hartwig
eaa94c52a1
Fix links in char docs
2015-12-26 22:04:18 +01:00
Ori Avtalion
d6d949a62a
book: Fix typo
2015-12-26 22:29:02 +02:00
Simonas Kazlauskas
7b68b5fc2a
Also fix MIRification of unit enum variants
2015-12-26 14:44:36 +02:00
Florian Hartwig
1fe2a77dd8
Fix some links in str docs
2015-12-26 12:16:48 +01:00
Florian Hartwig
0fcf4710e9
Fix links in docs for std::io
2015-12-26 00:11:20 +01:00
Florian Hartwig
0cf5083b24
Fix link that is currently broken due to bad markup
2015-12-26 00:01:10 +01:00
bors
3150dddb0f
Auto merge of #30558 - jonas-schievink:delete-ast, r=nrc
...
Or more specifically, after running early lints.
Closes #28142
2015-12-25 22:32:08 +00:00
Tamir Duberstein
a3d81c6479
update valgrind suppressions
2015-12-25 15:46:36 -05:00
Kai Noda
39630970d7
Correct .gitmodules
...
Use proper URLs as given by Github.
So far we relied on redirect by Github which is not guaranteed to work.
2015-12-26 02:51:04 +08:00
Jonas Schievink
389e8e3b81
Delete the AST after lowering
2015-12-25 17:17:45 +01:00
Ivan Petkov
7f7a059c47
libstd: unix process spawning: fix bug with setting stdio
...
* If the requested descriptors to inherit are stdio descriptors there
are situations where they will not be set correctly
* Example: parent's stdout --> child's stderr
parent's stderr --> child's stdout
* Solution: if the requested descriptors for the child are stdio
descriptors, `dup` them before overwriting the child's stdio
2015-12-25 07:09:36 -08:00
bors
5b838c586c
Auto merge of #30555 - Manishearth:rollup, r=Manishearth
...
- Successful merges: #30485 , #30490 , #30513 , #30518 , #30528 , #30545 , #30551 , #30552
- Failed merges:
2015-12-25 14:27:58 +00:00
Manish Goregaokar
04fe94a666
Rollup merge of #30552 - mmcco:align, r=steveklabnik
...
Trivial, but my eye is twitching.
2015-12-25 18:39:58 +05:30
Manish Goregaokar
ca43930dac
Rollup merge of #30551 - nagisa:mir-unit-structs, r=luqmana
...
Fixes https://github.com/rust-lang/rust/issues/30514
i also went ahead and removed the redundant `ItemKind`s.
r? @nikomatsakis (this is an easy one I guess)
2015-12-25 18:39:57 +05:30
Manish Goregaokar
288a7e52ee
Rollup merge of #30545 - bluss:operator-overload, r=steveklabnik
...
book: Some operator fixes for the syntax index
- Correct the names of the comparison traits (PartialOrd)
- Mention only the traits that overload the operator (PartialOrd,
PartialEq), not operator-unrelated traits (Ord, Eq).
- Add `!=` operator.
2015-12-25 18:39:56 +05:30
Manish Goregaokar
f903c9738c
Rollup merge of #30528 - michaelwoerister:fix-extern-def-paths, r=nikomatsakis
...
Avoid duplicating the last element of the def path which led to paths like "std::slice::into_vec::into_vec".
cc @rust-lang/compiler
2015-12-25 18:39:56 +05:30
Manish Goregaokar
0886d3f87a
Rollup merge of #30518 - semarie:openbsd-snapshot, r=alexcrichton
...
as the buildbot has timeouted when building snap3 branch, I regenerate one locally.
here the diff that registers the OpenBSD snapshot.
the archive is available at http://semarie.online.fr/rust/rust-stage0-2015-12-18-3391630-openbsd-x86_64-6c8aab2c8a169274942f9a15e460069a3ff64be9.tar.bz2
sha256 : de3c26a93cf9512922cc012f9b57bd08d7b64f7e0469a9bb032fa9c07260cf0c
@alexcrichton does it is the good method for providing a snapshot ?
2015-12-25 18:39:55 +05:30
Manish Goregaokar
91440adbed
Rollup merge of #30513 - alexcrichton:assert-is-safe, r=aturon
...
Types like `&AssertRecoverSafe<T>` and `Rc<AssertRecoverSafe<T>>` were
mistakenly not considered recover safe, but the point of the assertion wrapper
is that it indeed is! This was caused by an interaction between the
`RecoverSafe` and `NoUnsafeCell` marker traits, and this is updated by adding an
impl of the `NoUnsafeCell` marker trait for `AssertRecoverSafe` to ensure that
it never interacts with the other negative impls of `RecoverSafe`.
cc #30510
2015-12-25 18:39:54 +05:30
Manish Goregaokar
12f171b052
Rollup merge of #30485 - sfackler:panic-handler, r=alexcrichton
...
r? @alexcrichton
2015-12-25 16:54:30 +05:30
bors
711f11e8d6
Auto merge of #30544 - steveklabnik:rollup, r=steveklabnik
...
- Successful merges: #30251 , #30461 , #30465 , #30473 , #30529 , #30537 , #30539 , #30541 , #30543
- Failed merges:
2015-12-25 06:24:56 +00:00
Luqman Aden
9f72e001a0
Add test.
2015-12-24 23:05:57 -05:00
Luqman Aden
0a09ae6de8
[MIR] Make sure candidates are reversed before match_candidates
.
2015-12-24 22:07:11 -05:00
Michael McConville
552b70aad3
Fix whitespace alignment
...
Trivial, but my eye is twitching.
2015-12-24 21:39:38 -05:00
Simonas Kazlauskas
75e8f4afca
Properly translate unit structs in MIR
2015-12-25 01:02:34 +02:00
Jonas Schievink
93a655940d
ast_map => hir_map
2015-12-24 21:30:27 +01:00
mitaa
08222480e9
Fix link to Formatter::debug_struct
2015-12-24 08:15:58 +01:00
Michael McConville
b0a9b3d458
Use libc's Linux syscall()
...
There's no need for us to redeclare it in an extern block.
2015-12-23 22:46:45 -05:00
Michael McConville
d958cfc2de
Simply two cfg attributes
2015-12-23 22:31:53 -05:00
Ulrik Sverdrup
1b438314a0
book: Some operator fixes for the syntax index
...
- Correct the names of the comparison traits (PartialOrd)
- Mention only the traits that overload the operator (PartialOrd,
PartialEq), not operator-unrelated traits (Ord, Eq).
- Add `!=` operator.
2015-12-24 00:41:10 +01:00
Steve Klabnik
944b337c95
Rollup merge of #30543 - brson:doc, r=steveklabnik
...
The website will [shortly](https://github.com/rust-lang/rust-www/pull/241 ) provide the main documentation landing page as well as the [FAQ](https://github.com/rust-lang/rust-www/issues/202 ). All of the content here will be there.
This strips out everything and makes the index *just* an index into the in-tree content. My only real qualm with this is that this will become the content on doc.rust-lang.org (a sweet URL), while the main documentation page will be www.rust-lang.org/documentation.html.
r? @steveklabnik
2015-12-23 18:09:12 -05:00
Steve Klabnik
87a8f1fbf1
Rollup merge of #30541 - fbergr:doc, r=luqmana
...
Country-code top level domain names are tied to a specific country (for example .de for Germany).
r? @steveklabnik
2015-12-23 18:09:12 -05:00
Steve Klabnik
2aade14bd9
Rollup merge of #30539 - erickt:whitespace, r=sfackler
2015-12-23 18:09:12 -05:00
Steve Klabnik
1b68a357fd
Rollup merge of #30537 - tshepang:make-visible, r=Gankro
2015-12-23 18:09:12 -05:00
Steve Klabnik
2651b4a564
Rollup merge of #30529 - alexcrichton:less-c-code, r=sanxiyn
...
The corresopnding C file was removed in #30175 and looks like I forgot to remove
the header as well.
2015-12-23 18:09:12 -05:00
Steve Klabnik
cc2731222b
Rollup merge of #30473 - nwin:patch-2, r=steveklabnik
...
Clarify the difference between compiler-panic and libcore-panic.
2015-12-23 18:09:11 -05:00
Steve Klabnik
1dce223d50
Rollup merge of #30465 - androm3da:master, r=alexcrichton
...
The `dynamic_lib` library has been deprecated in favor of contents on crates.io, but apparently `libloading` is a more specific direction that fits the need.
2015-12-23 18:09:11 -05:00
Steve Klabnik
884021b79a
Rollup merge of #30461 - lnmx:doc-typo, r=steveklabnik
2015-12-23 18:09:11 -05:00
Steve Klabnik
8759f1f4cf
Rollup merge of #30251 - nodakai:patch-1, r=pnkfelix
...
On some weird setup where $SHELL is a relative path (can happen under GNU
Screen,) `file -L "$BIN_TO_PROBE"` fails and $CFG_CPUTYPE is wrongly set to
i686. We should not only check its string value but also permission on
filesystem.
2015-12-23 18:09:11 -05:00
Brian Anderson
9e99a27907
Strip the documentation index down to the essentials.
...
The main documentation page is now www.rust-lang.org/documentation.html
2015-12-23 14:15:13 -08:00
Brian Anderson
6c65cc1f8f
Remove links to out-of-tree docs
2015-12-23 14:04:43 -08:00
Brian Anderson
2f3c472d10
Remove the FAQs in favor of the website
2015-12-23 14:03:45 -08:00
fbergr
aa219d9412
doc: Change Google link to generic top level domain
2015-12-23 22:42:36 +02:00
Steven Fackler
f1148a540a
Implement custom panic handlers
2015-12-23 11:19:20 -07:00
Erick Tryzelaar
835bc77169
Minor fix to whitespace in libsyntax
2015-12-23 11:51:03 -05:00
Tshepang Lekhonkhobe
97547e2868
doc: make line visible
2015-12-23 17:47:12 +02:00
bors
8037e62d29
Auto merge of #30525 - semarie:ncpu, r=alexcrichton
...
Should unbreak build (well, remove one reason to break) for *bsd target.
r? @alexcrichton
2015-12-23 15:19:54 +00:00
bors
4ce1dafd1d
Auto merge of #30377 - Wafflespeanut:levenshtein, r=Manishearth
...
fixes part of #30197
2015-12-23 08:55:38 +00:00