-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 6 pull requests #73289
Rollup of 6 pull requests #73289
Commits on Jun 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5837518 - Browse repository at this point
Copy the full SHA 5837518View commit details -
Configuration menu - View commit details
-
Copy full SHA for d684855 - Browse repository at this point
Copy the full SHA d684855View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5fdbbe - Browse repository at this point
Copy the full SHA b5fdbbeView commit details -
Preserve expressions that get a
DefId
Namely closures and `async` blocks. We have to make a few modifications to closures to make them compile.
Configuration menu - View commit details
-
Copy full SHA for d8c99f3 - Browse repository at this point
Copy the full SHA d8c99f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a30042 - Browse repository at this point
Copy the full SHA 1a30042View commit details -
Configuration menu - View commit details
-
Copy full SHA for e319f20 - Browse repository at this point
Copy the full SHA e319f20View commit details
Commits on Jun 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 687767a - Browse repository at this point
Copy the full SHA 687767aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c91320f - Browse repository at this point
Copy the full SHA c91320fView commit details -
Configuration menu - View commit details
-
Copy full SHA for abf74b9 - Browse repository at this point
Copy the full SHA abf74b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50c422e - Browse repository at this point
Copy the full SHA 50c422eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17951e2 - Browse repository at this point
Copy the full SHA 17951e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19bb589 - Browse repository at this point
Copy the full SHA 19bb589View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cfecde - Browse repository at this point
Copy the full SHA 3cfecdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for bdfb9b1 - Browse repository at this point
Copy the full SHA bdfb9b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 215de3b - Browse repository at this point
Copy the full SHA 215de3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 187e105 - Browse repository at this point
Copy the full SHA 187e105View commit details
Commits on Jun 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6145918 - Browse repository at this point
Copy the full SHA 6145918View commit details -
Configuration menu - View commit details
-
Copy full SHA for c29b3fa - Browse repository at this point
Copy the full SHA c29b3faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cde07e - Browse repository at this point
Copy the full SHA 7cde07eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03552ec - Browse repository at this point
Copy the full SHA 03552ecView commit details
Commits on Jun 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 57b54c4 - Browse repository at this point
Copy the full SHA 57b54c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4bd180 - Browse repository at this point
Copy the full SHA b4bd180View commit details -
Helper method for whether type has structural equality
This helper method works for all types, falling back to a query for `TyKind::Adt`s to determine whether the implement the `{Partial,}StructuralEq` traits.
Configuration menu - View commit details
-
Copy full SHA for bd4bd59 - Browse repository at this point
Copy the full SHA bd4bd59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dd4561 - Browse repository at this point
Copy the full SHA 1dd4561View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2801761 - Browse repository at this point
Copy the full SHA 2801761View commit details -
Rollup merge of rust-lang#72740 - estebank:recursive-indirection, r=m…
…atthewjasper On recursive ADT, provide indirection structured suggestion
Configuration menu - View commit details
-
Copy full SHA for c30ca41 - Browse repository at this point
Copy the full SHA c30ca41View commit details -
Rollup merge of rust-lang#72804 - estebank:opaque-missing-lts-in-fn-2…
…, r=nikomatsakis Further tweak lifetime errors involving `dyn Trait` and `impl Trait` in return position * Suggest substituting `'static` lifetime in impl/dyn `Trait + 'static` instead of `Trait + 'static + '_` * When `'static` is explicit, also suggest constraining argument with it * Reduce verbosity of suggestion message and mention lifetime in label * Tweak output for overlapping required/captured spans * Give these errors an error code Follow up to rust-lang#72543. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for f27f659 - Browse repository at this point
Copy the full SHA f27f659View commit details -
Rollup merge of rust-lang#73066 - ecstatic-morse:query-structural-eq2…
…, r=pnkfelix Querify whether a type has structural equality (Take 2) Alternative to rust-lang#72177. Unlike in rust-lang#72177, this helper method works for all types, falling back to a query for `TyKind::Adt`s that determines whether the `{Partial,}StructuralEq` traits are implemented. This is my preferred interface for this method. I think this is better than just documenting that the helper only works for ADTs. If others disagree, we can just merge rust-lang#72177 with the fixes applied. This has already taken far too long.
Configuration menu - View commit details
-
Copy full SHA for aeb8dd7 - Browse repository at this point
Copy the full SHA aeb8dd7View commit details -
Rollup merge of rust-lang#73103 - ecstatic-morse:replace-body-with-lo…
…op, r=pnkfelix Preserve `Expr`s that have `DefId`s in `ReplaceBodyWithLoop` This PR fixes the last part of rust-lang#71104 by preserving expressions that are assigned their own `DefId`s (closures and `async` blocks) when passing them to `rustdoc`. This avoids having a `DefId` without a corresponding `HirId`. The first commit in this PR makes `-Zunpretty=everybody_loops` actually work again, and the subsequent two are miscellaneous cleanup. They should probably get merged regardless of what we end up doing here. Sample input: ```rust fn foo() -> Box<i32> { let x = |a: i64| { const FOO: i64 = 1; }; let a = 4; Box::new(a) } ``` Sample output: ```rust fn foo() -> Box<i32> { || -> ! { const FOO: i64 = 1; loop { } }; loop { } } ``` r? @ghost
Configuration menu - View commit details
-
Copy full SHA for e7a17c5 - Browse repository at this point
Copy the full SHA e7a17c5View commit details -
Rollup merge of rust-lang#73267 - ehuss:cargotest-this-cargo, r=Mark-…
…Simulacrum Use the built cargo for cargotest. cargotest was using the beta (bootstrap) cargo. This changes it so that it will use the locally built cargo. This is intended to provide a sort of smoke test to ensure Cargo is functional. This *shouldn't* have any real impact on the CI build time. The cargotest job also happens to run cargo's testsuite, so it should already be building cargo. Note: This will fail until rust-lang#73266 is merged.
Configuration menu - View commit details
-
Copy full SHA for 77404e5 - Browse repository at this point
Copy the full SHA 77404e5View commit details -
Rollup merge of rust-lang#73277 - RalfJung:miri-caller-location, r=ol…
…i-obk fix caller_location intrinsic for Miri Fixes rust-lang#73272 r? @oli-obk Cc @Aaron1011
Configuration menu - View commit details
-
Copy full SHA for f6bb405 - Browse repository at this point
Copy the full SHA f6bb405View commit details