-
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 10 pull requests #43487
Rollup of 10 pull requests #43487
Commits on Jul 22, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e9af03a - Browse repository at this point
Copy the full SHA e9af03aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a08ad0 - Browse repository at this point
Copy the full SHA 0a08ad0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddaf9b2 - Browse repository at this point
Copy the full SHA ddaf9b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ef24bb - Browse repository at this point
Copy the full SHA 1ef24bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbd2b6b - Browse repository at this point
Copy the full SHA cbd2b6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4edae9 - Browse repository at this point
Copy the full SHA a4edae9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 938552a - Browse repository at this point
Copy the full SHA 938552aView commit details -
Use checked NonZero constructor in obligation forest NodeIndex
… to remove an `unsafe` block.
Configuration menu - View commit details
-
Copy full SHA for 13d17ad - Browse repository at this point
Copy the full SHA 13d17adView commit details -
Use checked NonZero constructor in MIR move path indices
… to protect against UB in the unlikely case that `idx + 1` overflows.
Configuration menu - View commit details
-
Copy full SHA for 06e130f - Browse repository at this point
Copy the full SHA 06e130fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ba8b15 - Browse repository at this point
Copy the full SHA 1ba8b15View commit details -
Configuration menu - View commit details
-
Copy full SHA for f732911 - Browse repository at this point
Copy the full SHA f732911View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff7f220 - Browse repository at this point
Copy the full SHA ff7f220View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d1864b - Browse repository at this point
Copy the full SHA 0d1864bView commit details
Commits on Jul 24, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 8aa8f80 - Browse repository at this point
Copy the full SHA 8aa8f80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95b0f22 - Browse repository at this point
Copy the full SHA 95b0f22View commit details -
DNS functions are in libresolv on Solaris, just like on MacOS
Danek Duvall committedJul 24, 2017 Configuration menu - View commit details
-
Copy full SHA for ea23e50 - Browse repository at this point
Copy the full SHA ea23e50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e1249d - Browse repository at this point
Copy the full SHA 4e1249dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5388470 - Browse repository at this point
Copy the full SHA 5388470View commit details
Commits on Jul 25, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 04aa5c1 - Browse repository at this point
Copy the full SHA 04aa5c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ea65a8 - Browse repository at this point
Copy the full SHA 9ea65a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e36769 - Browse repository at this point
Copy the full SHA 6e36769View commit details -
Constrain the layout of Blake2bCtx for proper SPARC compilation
On SPARC, optimization fuel ends up emitting incorrect load and store instructions for the transmute() call in blake2b_compress(). If we force Blake2bCtx to be repr(C), the problem disappears. Fixes rust-lang#43346
Danek Duvall committedJul 25, 2017 Configuration menu - View commit details
-
Copy full SHA for f0fda53 - Browse repository at this point
Copy the full SHA f0fda53View commit details
Commits on Jul 26, 2017
-
Point at path segment on module not found
Point at the correct path segment on a import statement where a module doesn't exist. New output: ```rust error[E0432]: unresolved import `std::bar` --> <anon>:1:10 | 1 | use std::bar::{foo1, foo2}; | ^^^ Could not find `bar` in `std` ``` instead of: ```rust error[E0432]: unresolved import `std::bar::foo1` --> <anon>:1:16 | 1 | use std::bar::{foo1, foo2}; | ^^^^ Could not find `bar` in `std` error[E0432]: unresolved import `std::bar::foo2` --> <anon>:1:22 | 1 | use std::bar::{foo1, foo2}; | ^^^^ Could not find `bar` in `std` ```
Configuration menu - View commit details
-
Copy full SHA for 552ff07 - Browse repository at this point
Copy the full SHA 552ff07View commit details -
Rollup merge of rust-lang#42959 - SimonSapin:nonzero-checked, r=sfackler
Make the "main" constructors of NonZero/Shared/Unique return Option Per discussion in rust-lang#27730 (comment). This is a breaking change to unstable APIs. The old behavior is still available under the name `new_unchecked`. Note that only that one can be `const fn`, since `if` is currently not allowed in constant contexts. In the case of `NonZero` this requires adding a new `is_zero` method to the `Zeroable` trait. I mildly dislike this, but it’s not much worse than having a `Zeroable` trait in the first place. `Zeroable` and `NonZero` are both unstable, this can be reworked later.
Configuration menu - View commit details
-
Copy full SHA for b5b7266 - Browse repository at this point
Copy the full SHA b5b7266View commit details -
Rollup merge of rust-lang#43447 - estebank:import-span, r=nikomatsakis
Point at path segment on module not found Point at the correct path segment on a import statement where a module doesn't exist. New output: ```rust error[E0432]: unresolved import `std::bar` --> <anon>:1:10 | 1 | use std::bar::{foo1, foo2}; | ^^^ Could not find `bar` in `std` ``` instead of: ```rust error[E0432]: unresolved import `std::bar::foo1` --> <anon>:1:16 | 1 | use std::bar::{foo1, foo2}; | ^^^^ Could not find `bar` in `std` error[E0432]: unresolved import `std::bar::foo2` --> <anon>:1:22 | 1 | use std::bar::{foo1, foo2}; | ^^^^ Could not find `bar` in `std` ``` Fix rust-lang#43040.
Configuration menu - View commit details
-
Copy full SHA for b583392 - Browse repository at this point
Copy the full SHA b583392View commit details -
Rollup merge of rust-lang#43455 - QuietMisdreavus:extend-spec-docs, r…
…=steveklabnik add a note to Vec's Extend<&T> impl about its slice specialization From the regular documentation view, it's not at all apparent that [this specialization](https://github.com/rust-lang/rust/blob/5669c9988f50788b5ab5dee2d4538519d4e5663d/src/liballoc/vec.rs#L1879-L1891) exists for `slice::Iter`. This adds a documentation blurb to the Extend impl itself to note that this optimization exists.
Configuration menu - View commit details
-
Copy full SHA for 3751d20 - Browse repository at this point
Copy the full SHA 3751d20View commit details -
Rollup merge of rust-lang#43456 - joshlf:spawn-doc-grammar, r=alexcri…
…chton std::thread::spawn: Fix grammar in documentation Closes rust-lang#43435.
Configuration menu - View commit details
-
Copy full SHA for 25e5f0a - Browse repository at this point
Copy the full SHA 25e5f0aView commit details -
Rollup merge of rust-lang#43458 - RalfJung:verbose, r=nikomatsakis
Fix printing regions with -Z verbose When dumping MIR with `-Z verbose`, it would print regions on types, but not in the code. It seems the Rvalue printing code tried to be smart and guessed when the `Display` for `Region` would not possibly print anything. This PR makes it no longer be smart, and just always use the `Display` like all the other code (e.g. printing types) does.
Configuration menu - View commit details
-
Copy full SHA for 7fa104f - Browse repository at this point
Copy the full SHA 7fa104fView commit details -
Rollup merge of rust-lang#43462 - dhduvall:solaris-libresolv, r=aturon
DNS functions are in libresolv on Solaris, just like on MacOS
Configuration menu - View commit details
-
Copy full SHA for 9d02019 - Browse repository at this point
Copy the full SHA 9d02019View commit details -
Rollup merge of rust-lang#43463 - nrc:catch-span, r=petrochenkov
Fix the spans of catch blocks to include the `do`
Configuration menu - View commit details
-
Copy full SHA for f7d06b3 - Browse repository at this point
Copy the full SHA f7d06b3View commit details -
Rollup merge of rust-lang#43465 - topecongiro:needs-test, r=Mark-Simu…
…lacrum Add tests for issues with the E-needstest label Fixes rust-lang#19181. Fixes rust-lang#29516. Fixes rust-lang#29798. Fixes rust-lang#33504. Fixes rust-lang#34780. Fixes rust-lang#39211. Fixes rust-lang#39467. Fixes rust-lang#39720.
Configuration menu - View commit details
-
Copy full SHA for 9f4450b - Browse repository at this point
Copy the full SHA 9f4450bView commit details -
Rollup merge of rust-lang#43471 - ollie27:try_from_ints, r=nagisa
Add missing impl and tests for int to int TryFrom impls These were missing from rust-lang#43248. r? @nagisa
Configuration menu - View commit details
-
Copy full SHA for ed09d6d - Browse repository at this point
Copy the full SHA ed09d6dView commit details -
Rollup merge of rust-lang#43480 - dhduvall:sparc-blake2b, r=eddyb
Constrain the layout of Blake2bCtx for proper SPARC compilation On SPARC, optimization fuel ends up emitting incorrect load and store instructions for the transmute() call in blake2b_compress(). If we force Blake2bCtx to be repr(C), the problem disappears. Fixes rust-lang#43346
Configuration menu - View commit details
-
Copy full SHA for 959ebd6 - Browse repository at this point
Copy the full SHA 959ebd6View commit details