-
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 #60290
Rollup of 10 pull requests #60290
Commits on Apr 22, 2019
-
Remove redundant code in copy_clone_conditions
This was left over from when closure copy and clone were gated behind feature flags.
Configuration menu - View commit details
-
Copy full SHA for b2c0fd0 - Browse repository at this point
Copy the full SHA b2c0fd0View commit details
Commits on Apr 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d676386 - Browse repository at this point
Copy the full SHA d676386View commit details
Commits on Apr 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 64f7ced - Browse repository at this point
Copy the full SHA 64f7cedView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef37f38 - Browse repository at this point
Copy the full SHA ef37f38View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0e0849 - Browse repository at this point
Copy the full SHA a0e0849View commit details -
Configuration menu - View commit details
-
Copy full SHA for feb5a53 - Browse repository at this point
Copy the full SHA feb5a53View commit details -
Configuration menu - View commit details
-
Copy full SHA for f199627 - Browse repository at this point
Copy the full SHA f199627View commit details -
Configuration menu - View commit details
-
Copy full SHA for c75e089 - Browse repository at this point
Copy the full SHA c75e089View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56ab3e7 - Browse repository at this point
Copy the full SHA 56ab3e7View commit details
Commits on Apr 25, 2019
-
Introduce hir::ExprKind::Use and employ in for loop desugaring.
Here, ExprKind::Use(P<Expr>) tweaks the drop order to act the same way as '{ let _tmp = expr; _tmp }' does.
Configuration menu - View commit details
-
Copy full SHA for 4bd36ab - Browse repository at this point
Copy the full SHA 4bd36abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6aa5a5d - Browse repository at this point
Copy the full SHA 6aa5a5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72cda98 - Browse repository at this point
Copy the full SHA 72cda98View commit details -
Configuration menu - View commit details
-
Copy full SHA for d37f3fc - Browse repository at this point
Copy the full SHA d37f3fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 976b3d1 - Browse repository at this point
Copy the full SHA 976b3d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 102f7a8 - Browse repository at this point
Copy the full SHA 102f7a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 908a639 - Browse repository at this point
Copy the full SHA 908a639View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b190d6 - Browse repository at this point
Copy the full SHA 6b190d6View commit details -
Rollup merge of rust-lang#59734 - GuillaumeGomez:improve-rustdoc-fail…
…ure, r=ollie27 Prevent failure in case no space left on device in rustdoc Fixes rust-lang#59703. r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for 65a588c - Browse repository at this point
Copy the full SHA 65a588cView commit details -
Rollup merge of rust-lang#60134 - GuillaumeGomez:fix-index-page, r=Ma…
…nishearth Fix index-page generation Fixes rust-lang#60096. The minifier was minifying crates name in `searchIndex` key position, which was a bit problematic for multiple reasons. r? @rust-lang/rustdoc
Configuration menu - View commit details
-
Copy full SHA for 7dd5328 - Browse repository at this point
Copy the full SHA 7dd5328View commit details -
Rollup merge of rust-lang#60165 - Nemo157:pin-into-inner, r=cramertj
Add Pin::{into_inner,into_inner_unchecked} These functions are useful for unsafe code that needs to temporarily pull smart pointers out of the `Pin`, e.g. [the change that inspired them](Nemo157/futures-rs@b436178#diff-1a4e0ba4d1b539412ca576411ec6c7c2R258) is taking a `Pin<Box<dyn Future>>`, turning it into a `*mut dyn Future` via `Box::into_raw(unsafe { Pin::into_inner_unchecked(pin) })` then later dropping this via `drop(Pin::from(Box::from_raw(ptr)))`. This can be accomplished today via `{ let ptr = unsafe { Pin::get_unchecked_mut(pin.as_mut()) } as *mut dyn Future; mem::forget(pin); ptr }`, but this is far more complicated and loses out on the symmetry of using `Box::into_raw` and `Box::from_raw`. I'll extend the documentation on what guarantees `into_inner_unchecked` needs to uphold once I get some feedback on whether this API is wanted or not. r? @withoutboats
Configuration menu - View commit details
-
Copy full SHA for 2ed9247 - Browse repository at this point
Copy the full SHA 2ed9247View commit details -
Rollup merge of rust-lang#60183 - tmandry:chalk-builtin-copy-clone, r…
…=scalexm Chalkify: Add builtin Copy/Clone r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for cc9cee2 - Browse repository at this point
Copy the full SHA cc9cee2View commit details -
Rollup merge of rust-lang#60225 - Centril:hir-exprkind-use-in-for-loo…
…ps, r=oli-obk Introduce hir::ExprKind::Use and employ in for loop desugaring. In the `for $pat in $expr $block` desugaring we end with a `{ let _result = $match_expr; _result }` construct which makes `for` loops into a terminating scope and affects drop order. The construct was introduced in year 2015 by @pnkfelix in rust-lang#21984. This PR replaces the construct with `hir::ExprKind::Use(P<hir::Expr>)` which is equivalent semantically but should hopefully be less costly in terms of compile time performance (to be determined). This is extracted out of rust-lang@91b0abd from rust-lang#59288 for easier review and so that the perf implications wrt. `for`-loops can be measured. r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for a4d166b - Browse repository at this point
Copy the full SHA a4d166bView commit details -
Rollup merge of rust-lang#60247 - spastorino:place2_3, r=oli-obk
Implement Debug for Place using Place::iterate r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 651262d - Browse repository at this point
Copy the full SHA 651262dView commit details -
Rollup merge of rust-lang#60259 - sd234678:60181-derive-default-lints…
…, r=Centril Derive Default instead of new in applicable lint Closes rust-lang#60181 As far as I can see, at least within the `src/librustc_lint` directory this is the only place this is applicable.
Configuration menu - View commit details
-
Copy full SHA for 186da52 - Browse repository at this point
Copy the full SHA 186da52View commit details -
Rollup merge of rust-lang#60267 - gnzlbg:f16c_target_feature, r=alexc…
…richton Add feature-gate for f16c target feature r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for ae36d8b - Browse repository at this point
Copy the full SHA ae36d8bView commit details -
Rollup merge of rust-lang#60284 - varkor:const-param-of-type-param, r…
…=cramertj Do not allow const generics to depend on type parameters Fixes rust-lang#60264. In https://github.com/rust-lang/rust/pull/58191/files/b534cf992d0189032207f395c27ed092c89b40c7#diff-aeb0880081a991f34aef2ab889e1fb7a, it was suggested that there might be a better place for this error, but as this bug already affects stable, it's probably worth merging this now, and refactoring afterwards (I can open an issue for this).
Configuration menu - View commit details
-
Copy full SHA for 409d124 - Browse repository at this point
Copy the full SHA 409d124View commit details -
Rollup merge of rust-lang#60285 - estebank:icent, r=varkor
Do not ICE when checking types against foreign fn Fix rust-lang#60275.
Configuration menu - View commit details
-
Copy full SHA for e73c6f7 - Browse repository at this point
Copy the full SHA e73c6f7View commit details