summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2015-12-28rewrite the method-receiver matching codeAriel Ben-Yehuda-359/+164
the old code was *so terrible*.
2015-12-27Auto merge of #30575 - jswalden:error-handling-typo, r=apasel422bors-1/+1
Didn't build/test the change, but if that one-character fix isn't correct, I'll eat my hat. :-) Found this reading the book over the last week or two since Mozlando -- much enjoying the book so far.
2015-12-27Fix `auto_ref()` for fat pointersBjörn Steinbrink-7/+11
`auto_ref()` currently returns an Rvalue datum for the ref'd value, which is fine for thin pointers, but for fat pointers this means that once the pointer is moved out of that datum, its memory will be marked as dead. And because there is not necessarily an intermediate temporary involved we can end up marking memory as dead that is actually still used. As I don't want to break the micro-optimization for thin pointers by always returning an Lvalue datum, I decided to only do so for fat pointers. Fix #30478
2015-12-27Change the typo 'that' to 'than' in the book error-handling chapter.Jeff Walden-1/+1
2015-12-27Auto merge of #30566 - salty-horse:doc_typo, r=apasel422bors-1/+1
Small typo. vectors -> vector.
2015-12-26Auto merge of #30562 - nagisa:mir-unit-enums, r=luqmanabors-17/+36
Thanks @arielb1! r? @luqmana
2015-12-26Fix links in char docsFlorian Hartwig-11/+11
2015-12-26llvm: Add support for vectorcall (X86_VectorCall) conventionSteffen-1/+7
2015-12-26book: Fix typoOri Avtalion-1/+1
2015-12-26Also fix MIRification of unit enum variantsSimonas Kazlauskas-17/+36
2015-12-26Fix some links in str docsFlorian Hartwig-3/+3
2015-12-26Fix links in docs for std::ioFlorian Hartwig-4/+4
2015-12-26Fix link that is currently broken due to bad markupFlorian Hartwig-2/+1
2015-12-25Auto merge of #30558 - jonas-schievink:delete-ast, r=nrcbors-25/+33
Or more specifically, after running early lints. Closes #28142
2015-12-25update valgrind suppressionsTamir Duberstein-55/+28
2015-12-26Correct .gitmodulesKai Noda-2/+2
Use proper URLs as given by Github. So far we relied on redirect by Github which is not guaranteed to work.
2015-12-25Delete the AST after loweringJonas Schievink-3/+13
2015-12-25libstd: unix process spawning: fix bug with setting stdioIvan Petkov-0/+139
* 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-25Auto merge of #30555 - Manishearth:rollup, r=Manishearthbors-108/+487
- Successful merges: #30485, #30490, #30513, #30518, #30528, #30545, #30551, #30552 - Failed merges:
2015-12-25Rollup merge of #30552 - mmcco:align, r=steveklabnikManish Goregaokar-2/+2
Trivial, but my eye is twitching.
2015-12-25Rollup merge of #30551 - nagisa:mir-unit-structs, r=luqmanaManish Goregaokar-54/+73
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-25Rollup merge of #30545 - bluss:operator-overload, r=steveklabnikManish Goregaokar-5/+6
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-25Rollup merge of #30528 - michaelwoerister:fix-extern-def-paths, r=nikomatsakisManish Goregaokar-23/+50
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-25Rollup merge of #30518 - semarie:openbsd-snapshot, r=alexcrichtonManish Goregaokar-0/+1
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-25Rollup merge of #30513 - alexcrichton:assert-is-safe, r=aturonManish Goregaokar-16/+24
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-25Rollup merge of #30485 - sfackler:panic-handler, r=alexcrichtonManish Goregaokar-8/+331
r? @alexcrichton
2015-12-25Auto merge of #30544 - steveklabnik:rollup, r=steveklabnikbors-515/+34
- Successful merges: #30251, #30461, #30465, #30473, #30529, #30537, #30539, #30541, #30543 - Failed merges:
2015-12-24Add test.Luqman Aden-0/+28
2015-12-24[MIR] Make sure candidates are reversed before `match_candidates`.Luqman Aden-1/+4
2015-12-24Fix whitespace alignmentMichael McConville-2/+2
Trivial, but my eye is twitching.
2015-12-25Properly translate unit structs in MIRSimonas Kazlauskas-54/+73
2015-12-24ast_map => hir_mapJonas Schievink-22/+20
2015-12-24Fix link to `Formatter::debug_struct`mitaa-1/+1
2015-12-23Use libc's Linux syscall()Michael McConville-5/+1
There's no need for us to redeclare it in an extern block.
2015-12-23Simply two cfg attributesMichael McConville-2/+2
2015-12-24book: Some operator fixes for the syntax indexUlrik Sverdrup-5/+6
- 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-23Rollup merge of #30543 - brson:doc, r=steveklabnikSteve Klabnik-463/+16
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-23Rollup merge of #30541 - fbergr:doc, r=luqmanaSteve Klabnik-1/+1
Country-code top level domain names are tied to a specific country (for example .de for Germany). r? @steveklabnik
2015-12-23Rollup merge of #30539 - erickt:whitespace, r=sfacklerSteve Klabnik-2/+2
2015-12-23Rollup merge of #30537 - tshepang:make-visible, r=GankroSteve Klabnik-1/+1
2015-12-23Rollup merge of #30529 - alexcrichton:less-c-code, r=sanxiynSteve Klabnik-37/+0
The corresopnding C file was removed in #30175 and looks like I forgot to remove the header as well.
2015-12-23Rollup merge of #30473 - nwin:patch-2, r=steveklabnikSteve Klabnik-1/+1
Clarify the difference between compiler-panic and libcore-panic.
2015-12-23Rollup merge of #30465 - androm3da:master, r=alexcrichtonSteve Klabnik-1/+1
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-23Rollup merge of #30461 - lnmx:doc-typo, r=steveklabnikSteve Klabnik-1/+1
2015-12-23Rollup merge of #30251 - nodakai:patch-1, r=pnkfelixSteve Klabnik-8/+11
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-23Strip the documentation index down to the essentials.Brian Anderson-31/+13
The main documentation page is now www.rust-lang.org/documentation.html
2015-12-23Remove links to out-of-tree docsBrian Anderson-24/+0
2015-12-23Remove the FAQs in favor of the websiteBrian Anderson-408/+3
2015-12-23doc: Change Google link to generic top level domainfbergr-1/+1
2015-12-23Implement custom panic handlersSteven Fackler-8/+331