Merged
Conversation
These merged in rust-lang#97437 for 1.64.0, apart from the main `io_safety` feature that stabilized in 1.63.0.
Fix type error Fix continue_value doc comment
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Clarify when this method will panic. Also fix formatting for `pick2_mut`.
`~const Drop` was renamed to `~const Destruct` and this special case should be removed
std: use futex-based locks on Fuchsia This switches `Condvar` and `RwLock` to the futex-based implementation currently used on Linux and some BSDs. Additionally, `Mutex` now has its own, priority-inheriting implementation based on the mutex in Fuchsia's `libsync`. It differs from the original in that it panics instead of aborting when reentrant locking is detected. ````@rustbot```` ping fuchsia r? ````@m-ou-se````
Add `PhantomData` marker for dropck to `BTreeMap` closes rust-lang#99408
…inators, r=scottmcm Add map_continue and continue_value combinators to ControlFlow As suggested in this comment: rust-lang#75744 (comment) Related tracking issue: rust-lang#75744 r? ``````@scottmcm``````
Fix the stable version of `AsFd for Arc<T>` and `Box<T>` These merged in rust-lang#97437 for 1.64.0, apart from the main `io_safety` feature that stabilized in 1.63.0.
…, r=oli-obk Normalize the arg spans to be within the call span Makes more sense to point out the arg's span, and not the expression inside the macro
couple of clippy::perf fixes
…rrors Add regression test for rust-lang#52304 Closes rust-lang#52304 r? ```@compiler-errors``` Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Rewrite `orphan_check_trait_ref` to use a `TypeVisitor` The current impl is far more confusing than it has any right to be ✨ r? rust-lang/types
Edit `rustc_index::vec::IndexVec::pick3_mut` docs Clarify when this method will panic. Part of rust-lang#93792.
…ix, r=oli-obk Fix `remap_constness` `~const Drop` was renamed to `~const Destruct` and this special case should be removed
…ord, r=notriddle Remove unused field in ItemKind::KeywordItem For the keyword name, we use `Item::name` directly everywhere so there is no point into keeping it. r? ``@notriddle``
Member
Author
|
@bors r+ rollup=never p=11 |
Collaborator
Collaborator
Collaborator
|
☀️ Test successful - checks-actions |
This was referenced Jul 21, 2022
Collaborator
|
Finished benchmarking commit (af7ab34): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
Contributor
|
This rollup started causing some code in fuchsia to fail to build. Minimized it to: use std::collections::BTreeMap;
use std::io::Read;
pub fn example() {
let mut path_content_map: BTreeMap<&str, (u64, Box<dyn Read>)> = BTreeMap::new();
let s = format!("");
let as_bytes = s.as_bytes();
path_content_map.insert("foo", (as_bytes.len() as u64, Box::new(as_bytes)));
}which gives: and |
Member
Author
|
might be #99413 |
Contributor
|
Yep, it's definitely #99413. Sounds like it may be intended. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
PhantomDatamarker for dropck toBTreeMap#99413 (AddPhantomDatamarker for dropck toBTreeMap)AsFd for Arc<T>andBox<T>#99523 (Fix the stable version ofAsFd for Arc<T>andBox<T>)orphan_check_trait_refto use aTypeVisitor#99552 (Rewriteorphan_check_trait_refto use aTypeVisitor)rustc_index::vec::IndexVec::pick3_mutdocs #99557 (Editrustc_index::vec::IndexVec::pick3_mutdocs)remap_constness#99558 (Fixremap_constness)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup