-
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 9 pull requests #107308
Rollup of 9 pull requests #107308
Commits on Jan 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 656db98 - Browse repository at this point
Copy the full SHA 656db98View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4f61af - Browse repository at this point
Copy the full SHA e4f61afView commit details
Commits on Jan 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for be2ec32 - Browse repository at this point
Copy the full SHA be2ec32View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6111e8 - Browse repository at this point
Copy the full SHA c6111e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b8251e - Browse repository at this point
Copy the full SHA 7b8251eView commit details
Commits on Jan 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e1f630f - Browse repository at this point
Copy the full SHA e1f630fView commit details -
Add
rustc_on_unimplemented
onSync
for cell typesSuggest using a lock instead.
Configuration menu - View commit details
-
Copy full SHA for 6d0c91f - Browse repository at this point
Copy the full SHA 6d0c91fView commit details
Commits on Jan 23, 2023
-
Add hint for missing lifetime bound on trait object when type alias i…
…s used
yanchen4791 committedJan 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 62a1e76 - Browse repository at this point
Copy the full SHA 62a1e76View commit details -
Bring tests back into rustc source tarball
They were missing after recent move from src/test to tests.
Configuration menu - View commit details
-
Copy full SHA for 7f5ce94 - Browse repository at this point
Copy the full SHA 7f5ce94View commit details
Commits on Jan 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e6e93e0 - Browse repository at this point
Copy the full SHA e6e93e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad73936 - Browse repository at this point
Copy the full SHA ad73936View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11a94f2 - Browse repository at this point
Copy the full SHA 11a94f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 430dab0 - Browse repository at this point
Copy the full SHA 430dab0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f924b0 - Browse repository at this point
Copy the full SHA 2f924b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a418e39 - Browse repository at this point
Copy the full SHA a418e39View commit details
Commits on Jan 25, 2023
-
rustdoc: use smarter encoding for playground URL
The old way would compress okay with DEFLATE, but this version makes uncompressed docs smaller, which matters for memory usage and stuff like `cargo doc`. Try it out: <https://play.rust-lang.org/?code=fn+main()+{%0Alet+mut+v+=+Vec::new();%0Av.push(1+/+1);%0Aprintln!(%22{}%22,+v[0]);%0A}> In local testing, this change shrinks sample pages by anywhere between 5.0% and 0.044% $ du -b after.dir/std/vec/struct.Vec.html before.dir/std/vec/struct.Vec.html 753023 after.dir/std/vec/struct.Vec.html 781842 before.dir/std/vec/struct.Vec.html 100*((753023-781842)/781842)=-3.7 $ du -b after.dir/std/num/struct.Wrapping.html before.dir/std/num/struct.Wrapping.html 3189989 after.dir/std/num/struct.Wrapping.html 3204351 before.dir/std/num/struct.Wrapping.html 100*((3189989-3204351)/3204351)=-0.044 $ du -b after.dir/std/keyword.match.html before.dir/std/keyword.match.html 8067 after.dir/std/keyword.match.html 8495 before.dir/std/keyword.match.html 100*((8067-8495)/8495)=-5.0 Gzipped tarball sizes seem shrunk, but not by much. du -s before.tar.gz after.tar.gz 69600 before.tar.gz 69492 after.tar.gz 100*((69492-69600)/69600)=-0.16
Configuration menu - View commit details
-
Copy full SHA for 273254e - Browse repository at this point
Copy the full SHA 273254eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e500c44 - Browse repository at this point
Copy the full SHA e500c44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0db0419 - Browse repository at this point
Copy the full SHA 0db0419View commit details -
Rollup merge of rust-lang#105345 - yanchen4791:issue-103582-fix, r=ja…
…ckh726 Add hint for missing lifetime bound on trait object when type alias is used Fix issue rust-lang#103582. The problem: When a type alias is used to specify the return type of the method in a trait impl, the suggestion for fixing the problem of "missing lifetime bound on trait object" of the trait impl will not be created. The issue caused by the code which searches for the return trait objects when constructing the hint suggestion is not able to find the trait objects since they are specified in the type alias path instead of the return path of the trait impl. The solution: Trace the trait objects in the type alias path and provide them along with the alias span to generate the suggestion in case the type alias is used in return type of the method in the trait impl.
Configuration menu - View commit details
-
Copy full SHA for 0c9d9e5 - Browse repository at this point
Copy the full SHA 0c9d9e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d0e6aa - Browse repository at this point
Copy the full SHA 4d0e6aaView commit details -
Rollup merge of rust-lang#106944 - Nilstrieb:there-once-was-a-diagnos…
…tic, r=WaffleLapkin Suggest using a lock for `*Cell: Sync` bounds I mostly did this for `OnceCell<T>` at first because users will be confused to see that the `OnceCell<T>` in `std` isn't `Sync` but then extended it to `Cell<T>` and `RefCell<T>` as well.
Configuration menu - View commit details
-
Copy full SHA for 11b227a - Browse repository at this point
Copy the full SHA 11b227aView commit details -
Rollup merge of rust-lang#107239 - tmiasko:tests, r=Mark-Simulacrum
Bring tests back into rustc source tarball They were missing after recent move from src/test to tests. cc ``@albertlarsan68`` Fixes rust-lang#107081
Configuration menu - View commit details
-
Copy full SHA for a1dcdea - Browse repository at this point
Copy the full SHA a1dcdeaView commit details -
Rollup merge of rust-lang#107255 - lcnr:implied-b-hr, r=oli-obk
add test where we ignore hr implied bounds r? types
Configuration menu - View commit details
-
Copy full SHA for 7cebffe - Browse repository at this point
Copy the full SHA 7cebffeView commit details -
Rollup merge of rust-lang#107256 - JakobDegen:delete-sai, r=cjgillot
Delete `SimplifyArmIdentity` and `SimplifyBranchSame` mir opts I had attempted to fix the first of these opts in rust-lang#94177 . However, despite that PR already being a full re-write, it still did not fix some of the core soundness issues. The optimizations that are attempted here are likely to be desirable, but I do not expect any of the currently written code to survive into a sound implementation. Deleting the code keeps us from having to maintain the passes in the meantime. Closes rust-lang#77359 , closes rust-lang#72800 , closes rust-lang#78628 r? ``@cjgillot``
Configuration menu - View commit details
-
Copy full SHA for 82ea29c - Browse repository at this point
Copy the full SHA 82ea29cView commit details -
Rollup merge of rust-lang#107266 - kadiwa4:source_viewer_scrollbar, r…
…=notriddle rustdoc: prohibit scroll bar on source viewer in Safari Fixes rust-lang#106455.
Configuration menu - View commit details
-
Copy full SHA for 7cede15 - Browse repository at this point
Copy the full SHA 7cede15View commit details -
Rollup merge of rust-lang#107282 - BoxyUwU:erica_builtin_pointee_impl…
…s, r=compiler-errors erica solver: implement builtin `Pointee` trait impl candidates r? ``@compiler-errors``
Configuration menu - View commit details
-
Copy full SHA for 32eca9f - Browse repository at this point
Copy the full SHA 32eca9fView commit details -
Rollup merge of rust-lang#107284 - notriddle:notriddle/plus, r=jsha
rustdoc: use smarter encoding for playground URL The old way would compress okay with DEFLATE, but this version makes uncompressed docs smaller, which matters for memory usage and stuff like `cargo doc`. Try it out: <https://play.rust-lang.org/?code=fn+main()+{%0Alet+mut+v+=+Vec::new();%0Av.push(1+/+1);%0Aprintln!(%22{}%22,+v[0]);%0A}> In local testing, this change shrinks sample pages by anywhere between 5.0% and 0.044% $ du -b after.dir/std/vec/struct.Vec.html before.dir/std/vec/struct.Vec.html 753023 after.dir/std/vec/struct.Vec.html 781842 before.dir/std/vec/struct.Vec.html 100*((753023-781842)/781842)=-3.7 $ du -b after.dir/std/num/struct.Wrapping.html before.dir/std/num/struct.Wrapping.html 3189989 after.dir/std/num/struct.Wrapping.html 3204351 before.dir/std/num/struct.Wrapping.html 100*((3189989-3204351)/3204351)=-0.044 $ du -b after.dir/std/keyword.match.html before.dir/std/keyword.match.html 8067 after.dir/std/keyword.match.html 8495 before.dir/std/keyword.match.html 100*((8067-8495)/8495)=-5.0 Gzipped tarball sizes seem shrunk, but not by much. du -s before.tar.gz after.tar.gz 69600 before.tar.gz 69492 after.tar.gz 100*((69492-69600)/69600)=-0.16
Configuration menu - View commit details
-
Copy full SHA for 0168598 - Browse repository at this point
Copy the full SHA 0168598View commit details