summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2015-08-11Fix breakage from previous cherry pickBrian Anderson-2/+0
2015-08-11Fix doc testSteven Fackler-1/+0
2015-08-11Add back and deprecate old methods.Steven Fackler-0/+17
2015-08-11Stabilize the Duration APISteven Fackler-80/+53
This commit stabilizes the `std::time` module and the `Duration` type. `Duration::span` remains unstable, and the `Display` implementation for `Duration` has been removed as it is still being reworked and all trait implementations for stable types are de facto stable. This is a [breaking-change] to those using `Duration`'s `Display` implementation. Conflicts: src/librustc/lib.rs src/libstd/time/duration.rs
2015-08-10placate the pretty tests by ignoring my test.Felix S. Klock II-0/+2
2015-08-10Regression test for dropflag reinit issue.Felix S. Klock II-0/+34
Fix #27401.
2015-08-10Turn nonzeroing move hints back off by default.Felix S. Klock II-3/+3
This is a temporary workaround for the bugs that have been found in the implementation of PR #26173. * pnkfelix is unavailable in the short-term (i.e. for the next week) to fix them. * When the bugs are fixed, we will turn this back on by default. (If you want to play with the known-to-be-buggy optimization in the meantime, you can opt-back in via the debugging option that this commit is toggling.)
2015-08-10Remove reference to diabetesSteve Klabnik-2/+1
1. this isn't actually true about diabetes 2. people with diabetes will get *real sad* when reading this 3. it isn't actually necessary. (backport of https://github.com/rust-lang/rust/pull/27576)
2015-08-06Revert "debuginfo: Bring back some GDB pretty printing autotests that are ↵Alex Crichton-188/+0
not actually broken." This reverts commit 354cf4b56b8e2af67cc68965eb816deec0e79e4b.
2015-08-04Auto merge of #27508 - friedm:remove_integer_suffixes, r=alexcrichtonbors-6/+6
For #27501 r? @steveklabnik
2015-08-04Rollup merge of #27498 - nagisa:eeeeeeh, r=GankroManish Goregaokar-8/+4
r? @Gankro
2015-08-04Rollup merge of #27491 - GuillaumeGomez:patch-4, r=ManishearthManish Goregaokar-3/+3
2015-08-04Rollup merge of #27470 - cactorium:e0074toe0077, r=alexcrichtonManish Goregaokar-4/+57
For https://github.com/rust-lang/rust/issues/24407
2015-08-04Rollup merge of #27460 - JanLikar:master, r=steveklabnikManish Goregaokar-41/+38
- Fix #26968 by noting the difference between ".." and "_" more explicitly - Change one of the examples to show the match-all behaviour of ".." - Merge "Ignoring variants" and "Ignoring bindings" sections into the latter r? @steveklabnik
2015-08-04Rollup merge of #27398 - tshepang:patch-5, r=steveklabnikManish Goregaokar-3/+3
2015-08-04Rollup merge of #27397 - Dangthrimble:master, r=steveklabnikManish Goregaokar-19/+21
Clarifications for those new to Rust and Cargo: * It's a good idea to get rid of the original `main.exe` in project root * Slight clarification on the use of `main.rs` vs `lib.rs` * Clarify that the TOML file needs to be in project root
2015-08-04Auto merge of #27507 - eefriedman:link-section, r=alexcrichtonbors-15/+55
Fixes #27467.
2015-08-04Auto merge of #27444 - Gankro:nomicon, r=brsonbors-34/+38
Closes #27412 r? @brson
2015-08-04Auto merge of #27500 - michaelwoerister:bring-gdb-pp-tests-back, r=alexcrichtonbors-0/+188
This test case has been removed a while ago because it allegedly was broken. But I don't think it is (at least I couldn't reproduce any failure on Linux). Let's give it another chance `:)`
2015-08-03remove unneeded integer suffixes from concurrency chapterMatt Friedman-6/+6
2015-08-03Fix link_section regression.Eli Friedman-15/+55
Fixes #27467.
2015-08-03Auto merge of #26783 - eddyb:methrec, r=huonwbors-128/+215
After #26694, the overloaded operator and "impl not known at method lookup time" cases started triggering the lint. I've also added checks for overloaded autoderef and method calls via paths (i.e. `T::method()`). All new 8 test cases did not trigger the lint before #26694. r? @huonw
2015-08-04rustc_lint: handle more method calls in unconditional_recursion.Eduard Burtescu-15/+119
2015-08-04rustc: replace def::MethodProvenance with ty::ImplOrTraitItemContainer.Eduard Burtescu-113/+96
2015-08-03Auto merge of #27210 - vadimcn:win64-eh-pers, r=alexcrichtonbors-237/+667
After this change, the only remaining symbol we are pulling from libgcc on Win64 is `__chkstk_ms` - the stack probing routine.
2015-08-03required -> used; you -> weJonathan Hansford-3/+3
2015-08-03Auto merge of #27134 - fhartwig:derive, r=huonwbors-0/+11
Fixes #25022 This adapts the deriving mechanism to not repeat bounds for the same type parameter. To give an example: for the following code: ```rust #[derive(Clone)] pub struct FlatMap<I, U: IntoIterator, F> { iter: I, f: F, frontiter: Option<U::IntoIter>, backiter: Option<U::IntoIter>, } ``` the latest nightly generates the following impl signature: ```rust impl <I: ::std::clone::Clone, U: ::std::clone::Clone + IntoIterator, F: ::std::clone::Clone> ::std::clone::Clone for FlatMap<I, U, F> where I: ::std::clone::Clone, F: ::std::clone::Clone, U::IntoIter: ::std::clone::Clone, U::IntoIter: ::std::clone::Clone ``` With these changes, the signature changes to this: ```rust impl <I, U: IntoIterator, F> ::std::clone::Clone for FlatMap<I, U, F> where I: ::std::clone::Clone, F: ::std::clone::Clone, U::IntoIter: ::std::clone::Clone ``` (Nothing in the body of the impl changes) Note that the second impl is more permissive, as it doesn't have a `Clone` bound on `U` at all. There was a compile-fail test that failed due to this. I don't understand why we would want the old behaviour (and nobody on IRC could tell me either), so please tell me if there is a good reason that I missed.
2015-08-03debuginfo: Bring back some GDB pretty printing autotests that are not ↵Michael Woerister-0/+188
actually broken.
2015-08-03Post merge changes to #27488Simonas Kazlauskas-8/+4
2015-08-03rename TARPL to The RustinomiconAlexis Beingessner-34/+38
2015-08-03Auto merge of #27495 - tshepang:patch-6, r=Gankrobors-2/+2
2015-08-03Update error commentGuillaume Gomez-1/+1
2015-08-03reference: follow idiom in this tiny snippetTshepang Lekhonkhobe-2/+2
2015-08-03vastly expand on the mem::uninitialized docsAlexis Beingessner-6/+74
2015-08-03Updated in response to reviewJonathan Hansford-9/+9
2015-08-03Improve E0423 error messageGuillaume Gomez-2/+2
2015-08-02Fix compile errors for ARM.Vadim Chugunov-2/+4
2015-08-03Auto merge of #27475 - AgostonSzepessy:master, r=alexcrichtonbors-1/+22
2015-08-03Rollup merge of #27473 - brson:stddocs, r=GankroManish Goregaokar-11/+6
This removes some of the more casual language. The only outright goofiness I couldn't bear to remove is "these modules are the bedrock upon which all of Rust is forged, and they have mighty names like `std::slice` and `std::cmp`", which I believe the greatest sentence I have ever created.
2015-08-03Rollup merge of #27464 - killercup:patch-16, r=GankroManish Goregaokar-0/+1
Because Markdown.
2015-08-02Added error explanation for E0384.Agoston Szepessy-1/+22
2015-08-02Auto merge of #27305 - KieranHunt:master, r=steveklabnikbors-198/+210
I found that the book had little information for `loop`s and `loop` label so I've added some.
2015-08-02std: Tighten up crate docsBrian Anderson-11/+6
2015-08-02Docs: clarify return value of std::io::Seek::seekSimon Sapin-2/+3
2015-08-02TRPL: Add Newline Before HeadlinePascal Hertleif-0/+1
Because Markdown.
2015-08-01When a `nounwind` function has a personality routine, LLVM messes up .seh ↵Vadim Chugunov-0/+3
directives (happens to `rust_try` in optimized builds). A workaround is to give `rust_try` the `uwtable` attribute. Also, make sure that the dummy "load from null" instruction inserted by init_function() gets cleaned up.
2015-08-01Fix "Ignoring variants" in "Patterns" chapterJan Likar-41/+38
- Fix #26968 by noting the difference between ".." and "_" more explicitly - Change one of the examples to show the match-all behaviour of ".." - Merge "Ignoring variants" and "Ignoring bindings" sections into the latter
2015-08-01Adding an ignore annotation to an infinite loop so that it wont hang the tester.Kieran Hunt-1/+1
2015-08-01Fix off-by-one errorDaniel Albert-2/+2
2015-08-01Rollup merge of #27426 - FuGangqiang:master, r=alexcrichtonManish Goregaokar-1/+1