-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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 11 pull requests #86457
Rollup of 11 pull requests #86457
Commits on Jun 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6288aad - Browse repository at this point
Copy the full SHA 6288aadView commit details
Commits on Jun 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e4b3131 - Browse repository at this point
Copy the full SHA e4b3131View commit details -
Configuration menu - View commit details
-
Copy full SHA for 210e46b - Browse repository at this point
Copy the full SHA 210e46bView commit details
Commits on Jun 17, 2021
-
Fix rustdoc stabilized versions layout
Matteo Briani committedJun 17, 2021 Configuration menu - View commit details
-
Copy full SHA for 68f9172 - Browse repository at this point
Copy the full SHA 68f9172View commit details -
Alter std::cell::Cell::get_mut documentation
I find this more consistent with RefCell's equivalent method.
Configuration menu - View commit details
-
Copy full SHA for 7cadf7b - Browse repository at this point
Copy the full SHA 7cadf7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d5acca - Browse repository at this point
Copy the full SHA 1d5accaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 281dd6d - Browse repository at this point
Copy the full SHA 281dd6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 382ba79 - Browse repository at this point
Copy the full SHA 382ba79View commit details
Commits on Jun 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 88abd7d - Browse repository at this point
Copy the full SHA 88abd7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7bb746 - Browse repository at this point
Copy the full SHA d7bb746View commit details -
Configuration menu - View commit details
-
Copy full SHA for 884336e - Browse repository at this point
Copy the full SHA 884336eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6adaed - Browse repository at this point
Copy the full SHA f6adaedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8776b0f - Browse repository at this point
Copy the full SHA 8776b0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7a1186 - Browse repository at this point
Copy the full SHA e7a1186View commit details -
Configuration menu - View commit details
-
Copy full SHA for 831759a - Browse repository at this point
Copy the full SHA 831759aView commit details
Commits on Jun 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c688e70 - Browse repository at this point
Copy the full SHA c688e70View commit details -
Rollup merge of rust-lang#86136 - m-ou-se:proc-macro-open-close-span,…
… r=m-ou-se Stabilize span_open() and span_close(). This proposes to stabilize `Group::span_open()` and `Group::span_close()`. These are part of the `proc_macro_span` feature gate tracked in rust-lang#54725 Most of the features gated behind `proc_macro_span` are about source location information (file path, line and column information), expansion information (parent()), source_text(), etc. Those are not ready for stabilizaiton. However, getting the span of the `(` and `)` separately instead of only of the entire `(...)` can be very useful in proc macros, and doesn't seem blocked on anything that all the other parts of `proc_macro_span` are blocked on. So, this renames the feature gate for those two functions to `proc_macro_group_span` and stabilizes them.
Configuration menu - View commit details
-
Copy full SHA for 488a068 - Browse repository at this point
Copy the full SHA 488a068View commit details -
Rollup merge of rust-lang#86359 - fee1-dead:f64-junit-formatter, r=Jo…
…hnTitor Use as_secs_f64 in JunitFormatter cc ``@andoriyu``
Configuration menu - View commit details
-
Copy full SHA for 212f703 - Browse repository at this point
Copy the full SHA 212f703View commit details -
Rollup merge of rust-lang#86370 - matteo-briani:fix-rustdoc-stabilize…
…d-versions-layout, r=GuillaumeGomez Fix rustdoc stabilized versions layout Fixes rust-lang#86342 r? ``@GuillaumeGomez``
Configuration menu - View commit details
-
Copy full SHA for 6b7ea65 - Browse repository at this point
Copy the full SHA 6b7ea65View commit details -
Rollup merge of rust-lang#86378 - Smittyvb:thir-walker-pat, r=LeSeulA…
…rtichaut Add pattern walking support to THIR walker Suggested in rust-lang#85263 (comment), this splits off the support for pattern walking in THIR from rust-lang#85263. This has no observable effect on THIR unsafety checking, since it is not currently possible to trigger unsafety from the THIR checker using the additional patterns or constants that are now walked. THIR patterns are walked in source code order. r? `@LeSeulArtichaut`
Configuration menu - View commit details
-
Copy full SHA for f1a7e01 - Browse repository at this point
Copy the full SHA f1a7e01View commit details -
Rollup merge of rust-lang#86397 - Eosis:alter-cell-docs, r=JohnTitor
Alter std::cell::Cell::get_mut documentation I felt that there was some inconsistency between between Cell and RefCell with regards to their `get_mut` method documentation: `RefCell` flags this method as "unusual" in that it takes `&mut self`, while `Cell` does not. I attempted to flag this in `Cell`s documentation as well, and point to `RefCell`s method in the case where it is required. Find relevant parts of docs and the new version below. The current docs for `Cell::get_mut`: > Returns a mutable reference to the underlying data. This call borrows Cell mutably (at compile-time) which guarantees that we possess the only reference. And `RefCell::get_mut`: > Returns a mutable reference to the underlying data. This call borrows `RefCell` mutably (at compile-time) so there is no need for dynamic checks. However be cautious: this method expects self to be mutable, which is generally not the case when using a `RefCell`. Take a look at the `borrow_mut` method instead if self isn’t mutable. Also, please be aware that this method is only for special circumstances and is usually not what you want. In case of doubt, use `borrow_mut` instead. My attempt to make `Cell::get_mut` clearer: > Returns a mutable reference to the underlying data. This call borrows `Cell` mutably (at compile-time) which guaranteesthat we possess the only reference. However be cautious: this method expects `self` to be mutable, which is generally not the case when using a `Cell`. If you require interior mutability by reference, consider using `RefCell` which provides run-time checked mutable borrows through its `borrow_mut` method.
Configuration menu - View commit details
-
Copy full SHA for d55300b - Browse repository at this point
Copy the full SHA d55300bView commit details -
Rollup merge of rust-lang#86407 - LingMan:map-or, r=LeSeulArtichaut
Use `map_or` instead of open-coding it ``@rustbot`` modify labels +C-cleanup +T-compiler
Configuration menu - View commit details
-
Copy full SHA for 28a11f6 - Browse repository at this point
Copy the full SHA 28a11f6View commit details -
Rollup merge of rust-lang#86426 - hi-rustin:rustin-patch-lint-warn, r…
…=Aaron1011 Lint for unused borrows as part of UNUSED_MUST_USE close rust-lang#76264 base on rust-lang#76894 r? `@RalfJung`
Configuration menu - View commit details
-
Copy full SHA for 82ef6c8 - Browse repository at this point
Copy the full SHA 82ef6c8View commit details -
Rollup merge of rust-lang#86437 - nikomatsakis:tait-docs, r=oli-obk
add various coments to explain how the TAIT code works r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for aa4a77f - Browse repository at this point
Copy the full SHA aa4a77fView commit details -
Rollup merge of rust-lang#86440 - rust-lang:libs-api-issue-template, …
…r=m-ou-se Update library tracking issue for libs-api rename.
Configuration menu - View commit details
-
Copy full SHA for a9fd8cd - Browse repository at this point
Copy the full SHA a9fd8cdView commit details -
Rollup merge of rust-lang#86444 - FabianWolff:issue-83505, r=LeSeulAr…
…tichaut Fix ICE with `#[repr(simd)]` on enum This pull request fixes rust-lang#83505. `#[repr(simd)]` may only be applied to structs, which correctly causes `E0517` for the example given in rust-lang#83505, but the compiler attempts to recover from this error, which leads to an ICE later, when `.non_enum_variant()` is called on the `AdtDef`. I have added a check that prevents this from happening.
Configuration menu - View commit details
-
Copy full SHA for 15c06b2 - Browse repository at this point
Copy the full SHA 15c06b2View commit details -
Rollup merge of rust-lang#86453 - akiselev:patch-1, r=dtolnay
stdlib: Fix typo in internal RefCell docs `BorroeError` => `BorrowError` in [cell.rs](https://github.com/rust-lang/rust/blob/master/library/core/src/cell.rs#L581)
Configuration menu - View commit details
-
Copy full SHA for 5f90563 - Browse repository at this point
Copy the full SHA 5f90563View commit details