-
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 16 pull requests #76316
Rollup of 16 pull requests #76316
Commits on Aug 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 18ad5a5 - Browse repository at this point
Copy the full SHA 18ad5a5View commit details
Commits on Aug 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for aa40c02 - Browse repository at this point
Copy the full SHA aa40c02View commit details
Commits on Aug 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f03d0b3 - Browse repository at this point
Copy the full SHA f03d0b3View commit details
Commits on Aug 29, 2020
-
Co-authored-by: Andrew Hickman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 42fb270 - Browse repository at this point
Copy the full SHA 42fb270View commit details -
It is not always obvious that people could see the docs for `&` especially for beginners, it also helps learnability.
Configuration menu - View commit details
-
Copy full SHA for bb5e79c - Browse repository at this point
Copy the full SHA bb5e79cView commit details
Commits on Aug 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 20a6866 - Browse repository at this point
Copy the full SHA 20a6866View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81e85ce - Browse repository at this point
Copy the full SHA 81e85ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b75e3d - Browse repository at this point
Copy the full SHA 6b75e3dView commit details
Commits on Sep 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0f301e8 - Browse repository at this point
Copy the full SHA 0f301e8View commit details
Commits on Sep 2, 2020
-
rename MaybeUninit slice methods
first_ptr -> slice_as_ptr first_ptr_mut -> slice_as_mut_ptr slice_get_ref -> slice_assume_init_ref slice_get_mut -> slice_assume_init_mut
Configuration menu - View commit details
-
Copy full SHA for dddc5ff - Browse repository at this point
Copy the full SHA dddc5ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e0a47d - Browse repository at this point
Copy the full SHA 0e0a47dView commit details -
Configuration menu - View commit details
-
Copy full SHA for acac5c6 - Browse repository at this point
Copy the full SHA acac5c6View commit details
Commits on Sep 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8783c62 - Browse repository at this point
Copy the full SHA 8783c62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e29fdb - Browse repository at this point
Copy the full SHA 3e29fdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 791f93c - Browse repository at this point
Copy the full SHA 791f93cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4231fbc - Browse repository at this point
Copy the full SHA 4231fbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4df6490 - Browse repository at this point
Copy the full SHA 4df6490View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccf41dd - Browse repository at this point
Copy the full SHA ccf41ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6ab3ff - Browse repository at this point
Copy the full SHA c6ab3ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2278c72 - Browse repository at this point
Copy the full SHA 2278c72View commit details -
Make
Ipv4Addr
andIpv6Addr
const tests unit tests underlibrary
These tests are about the standard library, not the compiler itself, thus should live in `library`, see rust-lang#76268.
Configuration menu - View commit details
-
Copy full SHA for a2e077e - Browse repository at this point
Copy the full SHA a2e077eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c93125 - Browse repository at this point
Copy the full SHA 8c93125View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b823df - Browse repository at this point
Copy the full SHA 7b823dfView commit details
Commits on Sep 4, 2020
-
Move various ui const tests to
library
Move: - `src\test\ui\consts\const-nonzero.rs` to `library\core` - `src\test\ui\consts\ascii.rs` to `library\core` - `src\test\ui\consts\cow-is-borrowed` to `library\alloc` Part of rust-lang#76268
Configuration menu - View commit details
-
Copy full SHA for 538e198 - Browse repository at this point
Copy the full SHA 538e198View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85146b9 - Browse repository at this point
Copy the full SHA 85146b9View commit details -
Rollup merge of rust-lang#75580 - JulianKnodt:or_pattern, r=wesleywiser
Add test for checking duplicated branch or-patterns This adds a regression test for checking `or-patterns` in MIR as shown in rust-lang#75439. This doesn't introduce a fix as I'm not sure where it would go(I suspect maybe here: src/librustc_mir_build/build/matches/mod.rs), and I'm not particularly able to fix it. cc: @lzutao
Configuration menu - View commit details
-
Copy full SHA for 1893161 - Browse repository at this point
Copy the full SHA 1893161View commit details -
Rollup merge of rust-lang#75695 - JohnTitor:regression-test, r=Dylan-DPC
Add a regression test for issue-72793 Adds a regression test for rust-lang#72793, which is fixed by rust-lang#75443. Note that this won't close the issue as the snippet still shows ICE with `-Zmir-opt-level=2`. But it makes sense to add a test anyway.
Configuration menu - View commit details
-
Copy full SHA for 23c6435 - Browse repository at this point
Copy the full SHA 23c6435View commit details -
Rollup merge of rust-lang#75954 - ArekPiekarz:unstable_book_ffi_track…
…ing_issues, r=steveklabnik Unstable Book: add links to tracking issues for FFI features
Configuration menu - View commit details
-
Copy full SHA for ab1e517 - Browse repository at this point
Copy the full SHA ab1e517View commit details -
Rollup merge of rust-lang#75994 - mental32:impl-rc-new-cyclic, r=KodrAus
`impl Rc::new_cyclic` References rust-lang#75861 r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for 621605f - Browse repository at this point
Copy the full SHA 621605fView commit details -
Rollup merge of rust-lang#76060 - pickfire:patch-12, r=jyn514
Link vec doc to & reference It is not always obvious that people could see the docs for `&` especially for beginners, it also helps learnability.
Configuration menu - View commit details
-
Copy full SHA for f199602 - Browse repository at this point
Copy the full SHA f199602View commit details -
Rollup merge of rust-lang#76128 - poliorcetics:doc-use-arc-clone, r=K…
…odrAus Use Arc::clone and Rc::clone in documentation This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types. @rustbot modify labels: T-doc
Configuration menu - View commit details
-
Copy full SHA for 5734041 - Browse repository at this point
Copy the full SHA 5734041View commit details -
Rollup merge of rust-lang#76217 - RalfJung:maybe-uninit-slice, r=KodrAus
rename MaybeUninit slice methods The `first` methods conceptually point to the whole slice, not just its first element, so rename them to be consistent with the raw ptr methods on ref-slices. Also, do the equivalent of rust-lang#76047 for the slice reference getters, and make them part of rust-lang#63569 (so far they somehow had no tracking issue). * first_ptr -> slice_as_ptr * first_ptr_mut -> slice_as_mut_ptr * slice_get_ref -> slice_assume_init_ref * slice_get_mut -> slice_assume_init_mut
Configuration menu - View commit details
-
Copy full SHA for c191b36 - Browse repository at this point
Copy the full SHA c191b36View commit details -
Rollup merge of rust-lang#76229 - camelid:patch-3, r=jonas-schievink
Add missing link in README
Configuration menu - View commit details
-
Copy full SHA for 149d339 - Browse repository at this point
Copy the full SHA 149d339View commit details -
Rollup merge of rust-lang#76257 - JulianKnodt:i75777, r=Dylan-DPC
Add regression test This adds a regression test for rust-lang#75777, effectively closing it since it is solved on nightly and beta.
Configuration menu - View commit details
-
Copy full SHA for 0f9bbea - Browse repository at this point
Copy the full SHA 0f9bbeaView commit details -
Rollup merge of rust-lang#76273 - CraftSpider:master, r=matklad
Move some Vec UI tests into alloc unit tests A bit of work towards rust-lang#76268, makes a number of the Vec UI tests that are simply running code into unit tests. Ensured that they are being run when testing liballoc locally.
Configuration menu - View commit details
-
Copy full SHA for 602babc - Browse repository at this point
Copy the full SHA 602babcView commit details -
Rollup merge of rust-lang#76274 - scottmcm:fix-76271, r=petrochenkov
Allow try blocks as the argument to return expressions Fixes rust-lang#76271 I don't think this needs to be edition-aware (phew) since `return try` in 2015 is also the start of an expression, just with a struct literal instead of a block (`return try { x: 4, y: 5 }`).
Configuration menu - View commit details
-
Copy full SHA for 8155dd4 - Browse repository at this point
Copy the full SHA 8155dd4View commit details -
Rollup merge of rust-lang#76291 - matklad:spacing, r=petrochenkov
Rename IsJoint -> Spacing Builds on rust-lang#76286 and might conflict with rust-lang#76285 r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for 3ea07a3 - Browse repository at this point
Copy the full SHA 3ea07a3View commit details -
Rollup merge of rust-lang#76299 - CDirkx:ip-tests, r=matklad
Make `Ipv4Addr` and `Ipv6Addr` const tests unit tests under `library` These tests are about the standard library, not the compiler itself, thus should live in `library`, see rust-lang#76268.
Configuration menu - View commit details
-
Copy full SHA for 405de83 - Browse repository at this point
Copy the full SHA 405de83View commit details -
Rollup merge of rust-lang#76302 - jyn514:peekable-2, r=Dylan-DPC
Address review comments on `Peekable::next_if` r? @pickfire See rust-lang#72310 (review) for context.
Configuration menu - View commit details
-
Copy full SHA for c40f193 - Browse repository at this point
Copy the full SHA c40f193View commit details -
Rollup merge of rust-lang#76303 - jyn514:vec-assert-doc, r=Dylan-DPC
Link to `#capacity-and-reallocation` when using with_capacity Follow up to rust-lang#76058 (comment). r? @pickfire
Configuration menu - View commit details
-
Copy full SHA for 3b0e366 - Browse repository at this point
Copy the full SHA 3b0e366View commit details -
Rollup merge of rust-lang#76305 - CDirkx:const-tests, r=matklad
Move various ui const tests to `library` Move: - `src\test\ui\consts\const-nonzero.rs` to `library\core` - `src\test\ui\consts\ascii.rs` to `library\core` - `src\test\ui\consts\cow-is-borrowed` to `library\alloc` Part of rust-lang#76268 r? @matklad
Configuration menu - View commit details
-
Copy full SHA for 7758c4d - Browse repository at this point
Copy the full SHA 7758c4dView commit details