-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 12 pull requests #59428
Rollup of 12 pull requests #59428
Commits on Mar 18, 2019
-
promoted is still left in 2 places
Saleem Jaffer committedMar 18, 2019 Configuration menu - View commit details
-
Copy full SHA for 7fb1c22 - Browse repository at this point
Copy the full SHA 7fb1c22View commit details -
Saleem Jaffer committed
Mar 18, 2019 Configuration menu - View commit details
-
Copy full SHA for a837b8a - Browse repository at this point
Copy the full SHA a837b8aView commit details -
Saleem Jaffer committed
Mar 18, 2019 Configuration menu - View commit details
-
Copy full SHA for 23c87a1 - Browse repository at this point
Copy the full SHA 23c87a1View commit details -
adjust MaybeUninit API to discussions
uninitialized -> uninit into_initialized -> assume_init read_initialized -> read set -> write
Configuration menu - View commit details
-
Copy full SHA for ac6ab65 - Browse repository at this point
Copy the full SHA ac6ab65View commit details
Commits on Mar 19, 2019
-
Saleem Jaffer committed
Mar 19, 2019 Configuration menu - View commit details
-
Copy full SHA for 776407e - Browse repository at this point
Copy the full SHA 776407eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9374efa - Browse repository at this point
Copy the full SHA 9374efaView commit details
Commits on Mar 20, 2019
-
remove visit_static from librustc::mir
Saleem Jaffer committedMar 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 8829dda - Browse repository at this point
Copy the full SHA 8829ddaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72f8d4e - Browse repository at this point
Copy the full SHA 72f8d4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b440041 - Browse repository at this point
Copy the full SHA b440041View commit details -
Configuration menu - View commit details
-
Copy full SHA for d060e7d - Browse repository at this point
Copy the full SHA d060e7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52374a6 - Browse repository at this point
Copy the full SHA 52374a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d0a1e4 - Browse repository at this point
Copy the full SHA 4d0a1e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75677c4 - Browse repository at this point
Copy the full SHA 75677c4View commit details
Commits on Mar 21, 2019
-
Update build instructions in README.md
Add additional instructions when `sudo ./x.py install` fails to complete the build. This resolves issues rust-lang#40108 and rust-lang#49269.
Configuration menu - View commit details
-
Copy full SHA for 71dfb01 - Browse repository at this point
Copy the full SHA 71dfb01View commit details -
Saleem Jaffer committed
Mar 21, 2019 Configuration menu - View commit details
-
Copy full SHA for cf2f1bb - Browse repository at this point
Copy the full SHA cf2f1bbView commit details
Commits on Mar 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 48af718 - Browse repository at this point
Copy the full SHA 48af718View commit details -
Expand
impl FromIterator for Result
doc to include examples of `Err……` and early termination.
Configuration menu - View commit details
-
Copy full SHA for d5a61c0 - Browse repository at this point
Copy the full SHA d5a61c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b34a71b - Browse repository at this point
Copy the full SHA b34a71bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37cfeb2 - Browse repository at this point
Copy the full SHA 37cfeb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d56b1fd - Browse repository at this point
Copy the full SHA d56b1fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ccad16 - Browse repository at this point
Copy the full SHA 1ccad16View commit details
Commits on Mar 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8ba1a97 - Browse repository at this point
Copy the full SHA 8ba1a97View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1a6c32 - Browse repository at this point
Copy the full SHA b1a6c32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72a3089 - Browse repository at this point
Copy the full SHA 72a3089View commit details -
Hide "type ascription is experimental error" unless it's the only one
In order to minimize the verbosity of common syntax errors that are parsed as type ascription, hide the feature gate error unless there are no other errors being emitted by the parser.
Configuration menu - View commit details
-
Copy full SHA for 81b876b - Browse repository at this point
Copy the full SHA 81b876bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44a086e - Browse repository at this point
Copy the full SHA 44a086eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d72ef21 - Browse repository at this point
Copy the full SHA d72ef21View commit details -
adding mir::StaticKind enum for static and promoted
Saleem Jaffer committedMar 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 752544b - Browse repository at this point
Copy the full SHA 752544bView commit details
Commits on Mar 24, 2019
-
Saleem Jaffer committed
Mar 24, 2019 Configuration menu - View commit details
-
Copy full SHA for fb93f10 - Browse repository at this point
Copy the full SHA fb93f10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d7c2bb - Browse repository at this point
Copy the full SHA 8d7c2bbView commit details
Commits on Mar 25, 2019
-
Moves test::black_box to core::hint
This changes removes a cyclic dependency between the "test" and "libtest" crates, where "libtest" depends on "test" for "black_box", but "test" depends on "libtest" for everything else. I've chosen the "hint" module because there seems to be enough consensus in the discussion of RFC2360 that this module is where such an intrinsic would belong, but this PR does not implement that RFC! (note: if that RFC ever gets merged, the API, docs, etc. of this API will need to change). For backwards compatibility reasons I've chosen to also keep the "test" feature gate for these instead of adding a new feature gate. If we change the feature gate, we'll potentially all benchmarks, and while that's something that we could do, it seems unnecessary to do that now - if RFC2360 gets merged, we'll need to do that anyways.
Configuration menu - View commit details
-
Copy full SHA for f5d6b3a - Browse repository at this point
Copy the full SHA f5d6b3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f244383 - Browse repository at this point
Copy the full SHA f244383View commit details -
Co-Authored-By: pnkfelix <pnkfelix@pnkfx.org>
Configuration menu - View commit details
-
Copy full SHA for 6315221 - Browse repository at this point
Copy the full SHA 6315221View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfa76c4 - Browse repository at this point
Copy the full SHA cfa76c4View commit details -
add missing braces analogous to those suggested by killercup
Configuration menu - View commit details
-
Copy full SHA for 0e83e96 - Browse repository at this point
Copy the full SHA 0e83e96View commit details -
Clarify
{Ord,f32,f64}::clamp
docs a littleExplicitly call out when it returns NaN, adhere to the panic doc guidelines.
Configuration menu - View commit details
-
Copy full SHA for 0bb36a2 - Browse repository at this point
Copy the full SHA 0bb36a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24db517 - Browse repository at this point
Copy the full SHA 24db517View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28c602a - Browse repository at this point
Copy the full SHA 28c602aView commit details
Commits on Mar 26, 2019
-
Rollup merge of rust-lang#59150 - estebank:type-ascription, r=varkor
Expand suggestions for type ascription parse errors Fix rust-lang#51222. CC rust-lang#48016, rust-lang#47666, rust-lang#54516, rust-lang#34255.
Configuration menu - View commit details
-
Copy full SHA for 3e7a5fd - Browse repository at this point
Copy the full SHA 3e7a5fdView commit details -
Rollup merge of rust-lang#59232 - saleemjaffer:mir_place_refactor, r=…
…oli-obk Merge `Promoted` and `Static` in `mir::Place` fixes rust-lang#53848
Configuration menu - View commit details
-
Copy full SHA for 01af178 - Browse repository at this point
Copy the full SHA 01af178View commit details -
Rollup merge of rust-lang#59284 - RalfJung:maybe-uninit, r=sfackler
adjust MaybeUninit API to discussions uninitialized -> uninit into_initialized -> assume_init read_initialized -> read set -> write
Configuration menu - View commit details
-
Copy full SHA for e061309 - Browse repository at this point
Copy the full SHA e061309View commit details -
Rollup merge of rust-lang#59315 - Zoxc:move-query, r=oli-obk
Add no_hash to query macro and move some queries over r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 205d20a - Browse repository at this point
Copy the full SHA 205d20aView commit details -
Rollup merge of rust-lang#59334 - ewk:readme, r=Mark-Simulacrum
Update build instructions in README.md Add additional instructions when `sudo ./x.py install` fails to complete the build. This resolves issues rust-lang#40108 and rust-lang#49269. r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for 7b70515 - Browse repository at this point
Copy the full SHA 7b70515View commit details -
Rollup merge of rust-lang#59336 - gnzlbg:hint_black_box, r=alexcrichton
Moves test::black_box to core::hint and fix black_box on wasm32 and asm.js This changes removes a cyclic dependency between the "test" and "libtest" crates, where "libtest" depends on "test" for "black_box", but "test" depends on "libtest" for everything else. I've chosen the "hint" module because there seems to be enough consensus in the discussion of RFC2360 that this module is where such an intrinsic would belong, but this PR does not implement that RFC! If that RFC ever gets merged, the API, docs, etc. of this API will need to change. This PR just move the implementation of the already existing API. For backwards compatibility reasons I've chosen to also keep the "test" feature gate for these instead of adding a new feature gate. If we change the feature gate, we'll potentially all benchmarks, and while that's something that we could do, it seems unnecessary to do that now - if RFC2360 gets merged, we'll need to do that anyways. Backwards compatibility is also why we continue to re-export "black_box" from the "test" crate. This PR also fixes black_box on the wasm32 target, which now supports inline assembly, and uses volatile loads on the asm.js target. r? @Amanieu (cc @rust-lang/libs)
Configuration menu - View commit details
-
Copy full SHA for f9ae15f - Browse repository at this point
Copy the full SHA f9ae15fView commit details -
Rollup merge of rust-lang#59362 - pnkfelix:demo-from-iterator-short-c…
…ircuiting, r=Centril Demo `FromIterator` short-circuiting while looking at a FIXME in `FromIterator for Option` and `FromIterator for Result`, I realized that the current documentation does not have example code showing exactly what is meant by "no further elements are taken." The code snippets provided here are meant to correct that.
Configuration menu - View commit details
-
Copy full SHA for ea51c8b - Browse repository at this point
Copy the full SHA ea51c8bView commit details -
Rollup merge of rust-lang#59372 - euclio:rename-trim, r=rkruppe
add rustfix-able suggestions to trim_{left,right} deprecations Fixes rust-lang#53802 (technically already fixed by rust-lang#58002, but that issue is about these methods).
Configuration menu - View commit details
-
Copy full SHA for cb15da7 - Browse repository at this point
Copy the full SHA cb15da7View commit details -
Rollup merge of rust-lang#59374 - faern:simplify-checked-duration-sin…
…ce, r=shepmaster Simplify checked_duration_since This follows the same design as we updated to in rust-lang#56490. Internally, all the system specific time implementations are checked, no panics. Then the panicking publicly exported API can just call the checked version of itself and make do with a single panic (`expect`) at the top. Since the internal sys implementations are now checked, this gets rid of the extra `if self >= &earlier` check in `checked_duration_since`. Except likely making the generated machine code simpler, it also reduces the algorithm from "Check panic condition -> call possibly panicking method" to just "call non panicking method". Added two test cases: * Edge case: Make sure `checked_duration_since` on two equal `Instant`s produce a zero duration, not a `None`. * Most common/intended usage: Make sure `later.checked_duration_since(earlier)`, returns an expected value.
Configuration menu - View commit details
-
Copy full SHA for 8aa161b - Browse repository at this point
Copy the full SHA 8aa161bView commit details -
Rollup merge of rust-lang#59389 - euclio:deprecated-suggestion, r=varkor
replace redundant note in deprecation warning
Configuration menu - View commit details
-
Copy full SHA for e5f4755 - Browse repository at this point
Copy the full SHA e5f4755View commit details -
Rollup merge of rust-lang#59410 - tbu-:pr_doc_clarifyclamp, r=joshtri…
…plett Clarify `{Ord,f32,f64}::clamp` docs a little Explicitly call out when it returns NaN, adhere to the panic doc guidelines.
Configuration menu - View commit details
-
Copy full SHA for 25f3ae9 - Browse repository at this point
Copy the full SHA 25f3ae9View commit details -
Rollup merge of rust-lang#59419 - frewsxcv:frewsxcv-qu, r=varkor
Utilize `?` instead of `return None`. None
Configuration menu - View commit details
-
Copy full SHA for 5059a9a - Browse repository at this point
Copy the full SHA 5059a9aView commit details