-
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 9 pull requests #98480
Rollup of 9 pull requests #98480
Commits on Apr 25, 2022
-
Windows: Iterative
remove_dir_all
This will allow better strategies for use of memory and File handles. However, fully taking advantage of that is left to future work.
Configuration menu - View commit details
-
Copy full SHA for 8b1f85c - Browse repository at this point
Copy the full SHA 8b1f85cView commit details
Commits on Apr 26, 2022
-
It's possible that a file in the directory is pending deletion. In that case we might succeed after a few attempts.
Configuration menu - View commit details
-
Copy full SHA for 8dc4696 - Browse repository at this point
Copy the full SHA 8dc4696View commit details
Commits on Apr 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d579665 - Browse repository at this point
Copy the full SHA d579665View commit details
Commits on Jun 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for edb6c4b - Browse repository at this point
Copy the full SHA edb6c4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f30c76a - Browse repository at this point
Copy the full SHA f30c76aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ea686f - Browse repository at this point
Copy the full SHA 3ea686fView commit details
Commits on Jun 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e5402e4 - Browse repository at this point
Copy the full SHA e5402e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a25ac9 - Browse repository at this point
Copy the full SHA 1a25ac9View commit details -
rust-lang#91318 introduced a trait for infallible folders distinct from the fallible version. For some reason (completely unfathomable to me now that I look at it with fresh eyes), the infallible trait was a supertrait of the fallible one: that is, all fallible folders were required to also be infallible. Moreover the `Error` associated type was defined on the infallible trait! It's so absurd that it has me questioning whether I was entirely sane. This trait reverses the hierarchy, so that the fallible trait is a supertrait of the infallible one: all infallible folders are required to also be fallible (which is a trivial blanket implementation). This of course makes much more sense! It also enables the `Error` associated type to sit on the fallible trait, where it sensibly belongs. There is one downside however: folders expose a `tcx` accessor method. Since the blanket fallible implementation for infallible folders only has access to a generic `F: TypeFolder`, we need that trait to expose such an accessor to which we can delegate. Alternatively it's possible to extract that accessor into a separate `HasTcx` trait (or similar) that would then be a supertrait of both the fallible and infallible folder traits: this would ensure that there's only one unambiguous `tcx` method, at the cost of a little additional boilerplate. If desired, I can submit that as a separate PR. r? @jackh726
Configuration menu - View commit details
-
Copy full SHA for 6ac6866 - Browse repository at this point
Copy the full SHA 6ac6866View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75203ee - Browse repository at this point
Copy the full SHA 75203eeView commit details
Commits on Jun 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aa91716 - Browse repository at this point
Copy the full SHA aa91716View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc4f804 - Browse repository at this point
Copy the full SHA cc4f804View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3eb9e1a - Browse repository at this point
Copy the full SHA 3eb9e1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4b2b41 - Browse repository at this point
Copy the full SHA e4b2b41View commit details
Commits on Jun 23, 2022
-
Co-authored-by: Wesley Wiser <wwiser@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 23d325e - Browse repository at this point
Copy the full SHA 23d325eView commit details
Commits on Jun 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4c4fb71 - Browse repository at this point
Copy the full SHA 4c4fb71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e3221a - Browse repository at this point
Copy the full SHA 2e3221aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38814fc - Browse repository at this point
Copy the full SHA 38814fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f39c0d6 - Browse repository at this point
Copy the full SHA f39c0d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ada2acc - Browse repository at this point
Copy the full SHA ada2accView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf48b62 - Browse repository at this point
Copy the full SHA bf48b62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20cea3e - Browse repository at this point
Copy the full SHA 20cea3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e80cced - Browse repository at this point
Copy the full SHA e80ccedView commit details -
Configuration menu - View commit details
-
Copy full SHA for c06d8f9 - Browse repository at this point
Copy the full SHA c06d8f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25fe474 - Browse repository at this point
Copy the full SHA 25fe474View commit details
Commits on Jun 25, 2022
-
Rollup merge of rust-lang#96412 - ChrisDenton:remove-dir-all, r=thomcc
Windows: Iterative `remove_dir_all` This will allow better strategies for use of memory and File handles. However, fully taking advantage of that is left to future work. Note to reviewer: It's probably best to view the `remove_dir_all_recursive` as a new function. The diff is not very helpful (imho).
Configuration menu - View commit details
-
Copy full SHA for 95bd688 - Browse repository at this point
Copy the full SHA 95bd688View commit details -
Rollup merge of rust-lang#97085 - rylev:test-issue-33172, r=wesleywiser
Add a test for issue rust-lang#33172 Adds a test confirming that rust-lang#33172 has been fixed. CDB has some surprising results as it looks like the supposedly unmangled static's symbol name is prefixed when it shouldn't be. r? ```@wesleywiser``` Closes rust-lang#33172
Configuration menu - View commit details
-
Copy full SHA for 7070a3f - Browse repository at this point
Copy the full SHA 7070a3fView commit details -
Rollup merge of rust-lang#98145 - ouz-a:some_branch, r=oli-obk
Pull Derefer before ElaborateDrops _Follow up work to rust-lang#97025 rust-lang#96549 rust-lang#96116 rust-lang#95887 #95649_ This moves `Derefer` before `ElaborateDrops` and creates a new `Rvalue` called `VirtualRef` that allows us to bypass many constraints for `DerefTemp`. r? ``@oli-obk``
Configuration menu - View commit details
-
Copy full SHA for 9a3ac98 - Browse repository at this point
Copy the full SHA 9a3ac98View commit details -
Rollup merge of rust-lang#98149 - hoodmane:emscripten-pic, r=petroche…
…nkov Set relocation_model to Pic on emscripten target So we can support dynamically linking libraries with Emscripten (otherwise we need to use nightly and `-Zbuild-std` to rebuild std with relocations). ```@sbc100```
Configuration menu - View commit details
-
Copy full SHA for de49639 - Browse repository at this point
Copy the full SHA de49639View commit details -
Rollup merge of rust-lang#98277 - compiler-errors:issue-93596, r=este…
…bank Fix trait object reborrow suggestion Fixes rust-lang#93596 Slightly generalizes the logic we use to suggest fix first implemented in rust-lang#95609, specifically when we have a `Sized` obligation that comes from a struct's unsized tail.
Configuration menu - View commit details
-
Copy full SHA for 502083d - Browse repository at this point
Copy the full SHA 502083dView commit details -
Rollup merge of rust-lang#98297 - GuillaumeGomez:help-pocket-menu, r=…
…notriddle Transform help popup into a pocket menu Just like we moved the settings menu into a "pocket menu", it's doing the same to the help popup. You can test it [here](https://rustdoc.crud.net/imperio/help-pocket-menu/doc/foo/index.html) and here is a screenshot: ![Screenshot from 2022-06-20 20-58-29](https://user-images.githubusercontent.com/3050060/174663718-538e9d11-3bf9-48b2-8909-f9bfe75af135.png) r? ```@jsha```
Configuration menu - View commit details
-
Copy full SHA for 2d18932 - Browse repository at this point
Copy the full SHA 2d18932View commit details -
Rollup merge of rust-lang#98311 - eggyal:reverse-folder-hierarchy, r=…
…jackh726 Reverse folder hierarchy rust-lang#91318 introduced a trait for infallible folders distinct from the fallible version. For some reason (completely unfathomable to me now that I look at it with fresh eyes), the infallible trait was a supertrait of the fallible one: that is, all fallible folders were required to also be infallible. Moreover the `Error` associated type was defined on the infallible trait! It's so absurd that it has me questioning whether I was entirely sane. This trait reverses the hierarchy, so that the fallible trait is a supertrait of the infallible one: all infallible folders are required to also be fallible (which is a trivial blanket implementation). This of course makes much more sense! It also enables the `Error` associated type to sit on the fallible trait, where it sensibly belongs. There is one downside however: folders expose a `tcx` accessor method. Since the blanket fallible implementation for infallible folders only has access to a generic `F: TypeFolder`, we need that trait to expose such an accessor to which we can delegate. Alternatively it's possible to extract that accessor into a separate `HasTcx` trait (or similar) that would then be a supertrait of both the fallible and infallible folder traits: this would ensure that there's only one unambiguous `tcx` method, at the cost of a little additional boilerplate. If desired, I can submit that as a separate PR. r? ``@jackh726``
Configuration menu - View commit details
-
Copy full SHA for d6d97ca - Browse repository at this point
Copy the full SHA d6d97caView commit details -
Rollup merge of rust-lang#98371 - compiler-errors:better-opaque-print…
…ing, r=oli-obk Fix printing `impl trait` under binders Before, we would render `impl for<'a> Trait<'a>` like `impl Trait<for<'a> 'a>`, lol.
Configuration menu - View commit details
-
Copy full SHA for d9622a8 - Browse repository at this point
Copy the full SHA d9622a8View commit details -
Rollup merge of rust-lang#98429 - b-naber:use-correct-substs-discrimi…
…nant-cast, r=lcnr Use correct substs in enum discriminant cast Fixes rust-lang#97634 r? ``@lcnr``
Configuration menu - View commit details
-
Copy full SHA for a80dffb - Browse repository at this point
Copy the full SHA a80dffbView commit details