-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 11 pull requests #22842
Rollup of 11 pull requests #22842
Commits on Feb 23, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 0685e7a - Browse repository at this point
Copy the full SHA 0685e7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f49fd40 - Browse repository at this point
Copy the full SHA f49fd40View commit details
Commits on Feb 25, 2015
-
std: Require
&mut self
for Iterator::allKeeps the method consistent with `Iterator::any`. Closes rust-lang#22617 [breaking-change]
Configuration menu - View commit details
-
Copy full SHA for 18878b1 - Browse repository at this point
Copy the full SHA 18878b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64581cf - Browse repository at this point
Copy the full SHA 64581cfView commit details -
Change MarkerTrait to be invariant. This is a (small) loss of express…
…iveness, but is necessary for now to work around rust-lang#22806. Fixes rust-lang#22655.
Configuration menu - View commit details
-
Copy full SHA for 7074346 - Browse repository at this point
Copy the full SHA 7074346View commit details -
Result::or : avoid over-specializing the type
Changes .or() so that it can return a Result with a different E type than the one it is called on. Essentially: fn or(self, res: Result<T, E>) -> Result<T, E> becomes fn or<F>(self, res: Result<T, F>) -> Result<T, F> This brings `or` in line with the existing `and` and `or_else` member types. This is a [breaking-change] Due to some code needing additional type annotations.
Configuration menu - View commit details
-
Copy full SHA for 07dc8d6 - Browse repository at this point
Copy the full SHA 07dc8d6View commit details -
Fix overflow in precise_time_ns() on Windows,
which starts happening after ~2 hours of machine uptime.
Configuration menu - View commit details
-
Copy full SHA for 5dd001b - Browse repository at this point
Copy the full SHA 5dd001bView commit details
Commits on Feb 26, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 65b0655 - Browse repository at this point
Copy the full SHA 65b0655View commit details -
Configuration menu - View commit details
-
Copy full SHA for f618e2e - Browse repository at this point
Copy the full SHA f618e2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9bdc43 - Browse repository at this point
Copy the full SHA d9bdc43View commit details -
remove the redundant else branch
The branch "else { continue }" is the last code inside a loop body, it is just useless. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Lai Jiangshan committedFeb 26, 2015 Configuration menu - View commit details
-
Copy full SHA for 9cdb256 - Browse repository at this point
Copy the full SHA 9cdb256View commit details -
Configuration menu - View commit details
-
Copy full SHA for 704ce1d - Browse repository at this point
Copy the full SHA 704ce1dView commit details -
Add check for unbounded due to non-regular types in dropck.
(Regression tests are in followup commit.)
Configuration menu - View commit details
-
Copy full SHA for c3b8125 - Browse repository at this point
Copy the full SHA c3b8125View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed18e6b - Browse repository at this point
Copy the full SHA ed18e6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e87cc59 - Browse repository at this point
Copy the full SHA e87cc59View commit details -
Rollup merge of rust-lang#22748 - jxcl:string-backslash, r=steveklabnik
r? @steveklabnik Closes rust-lang#22698 I wasn't sure that this was appropriate for the book, but I've added this to the reference. I also noticed that one of the U+ symbols in the character literals section was missing the graves.
Configuration menu - View commit details
-
Copy full SHA for 9b041b7 - Browse repository at this point
Copy the full SHA 9b041b7View commit details -
Rollup merge of rust-lang#22764 - ivanradanov:fileline_help, r=huonw
When warnings and errors occur, the associated help message should not print the same code snippet. rust-lang#21938
Configuration menu - View commit details
-
Copy full SHA for 839f0a3 - Browse repository at this point
Copy the full SHA 839f0a3View commit details -
Rollup merge of rust-lang#22777 - pnkfelix:issue-22443, r=nikomatsakis
Check for unbounded recursion during dropck. Such recursion can be introduced by the erroneous use of non-regular types (aka types employing polymorphic recursion), which Rust does not support. Fix rust-lang#22443
Configuration menu - View commit details
-
Copy full SHA for 41c6c35 - Browse repository at this point
Copy the full SHA 41c6c35View commit details -
Rollup merge of rust-lang#22788 - vadimcn:fix-precise_time_ns, r=pnkf…
…elix which starts happening after ~2 hours of machine uptime. Closes rust-lang#17845
Configuration menu - View commit details
-
Copy full SHA for 152e490 - Browse repository at this point
Copy the full SHA 152e490View commit details -
Rollup merge of rust-lang#22795 - alexcrichton:issue-22617, r=huonw
Keeps the method consistent with `Iterator::any`. Closes rust-lang#22617 [breaking-change]
Configuration menu - View commit details
-
Copy full SHA for 50a2225 - Browse repository at this point
Copy the full SHA 50a2225View commit details -
Rollup merge of rust-lang#22809 - nikomatsakis:issue-22655-infinite-r…
…ecursion, r=pnkfelix Change MarkerTrait to be invariant. This is a (small) loss of expressiveness, but is necessary for now to work around rust-lang#22806. Fixes rust-lang#22655. r? @pnkfelix
Configuration menu - View commit details
-
Copy full SHA for 5883d63 - Browse repository at this point
Copy the full SHA 5883d63View commit details -
Rollup merge of rust-lang#22817 - jmesmon:result-or-type, r=huonw
Changes .or() so that it can return a Result with a different E type than the one it is called on. Essentially: fn or(self, res: Result<T, E>) -> Result<T, E> becomes fn or<F>(self, res: Result<T, F>) -> Result<T, F> This brings `or` in line with the existing `and` & `or_else` This is a [breaking-change] Due to some code needing additional type annotations.
Configuration menu - View commit details
-
Copy full SHA for 66ced05 - Browse repository at this point
Copy the full SHA 66ced05View commit details -
Rollup merge of rust-lang#22824 - bossmc:build-warnings, r=alexcrichton
Simple PR to fix some build warnings on a clean clone of master. ``` /home/ubuntu/src/rust/src/librustc/middle/astconv_util.rs:71:51: 71:53 warning: obsolete syntax: [] /home/ubuntu/src/rust/src/librustc/middle/astconv_util.rs:71 Some(prim_ty_to_ty(tcx, &path.segments[], nty)) ^~ note: write `[..]` instead ... /home/ubuntu/src/rust/src/librustc_resolve/lib.rs:2988:53: 2988:55 warning: obsolete syntax: [] /home/ubuntu/src/rust/src/librustc_resolve/lib.rs:2988 self.resolve_error(trait_path.span, &msg[]); ^~ note: write `[..]` instead ```
Configuration menu - View commit details
-
Copy full SHA for b8d6a81 - Browse repository at this point
Copy the full SHA b8d6a81View commit details -
Rollup merge of rust-lang#22833 - laijs:remove-redundant-else-branch,…
… r=dotdash The branch "else { continue }" is the last code inside a loop body, it is just useless. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Configuration menu - View commit details
-
Copy full SHA for fa66eb3 - Browse repository at this point
Copy the full SHA fa66eb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f943de9 - Browse repository at this point
Copy the full SHA f943de9View commit details