-
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 11 pull requests #99567
Rollup of 11 pull requests #99567
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 <[email protected]>
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 <[email protected]>
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``
@bors r+ rollup=never p=11 |
☀️ Test successful - checks-actions |
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 |
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 |
might be #99413 |
Yep, it's definitely #99413. Sounds like it may be intended. Thanks! |
Successful merges:
PhantomData
marker for dropck toBTreeMap
#99413 (AddPhantomData
marker for dropck toBTreeMap
)AsFd for Arc<T>
andBox<T>
#99523 (Fix the stable version ofAsFd for Arc<T>
andBox<T>
)orphan_check_trait_ref
to use aTypeVisitor
#99552 (Rewriteorphan_check_trait_ref
to use aTypeVisitor
)rustc_index::vec::IndexVec::pick3_mut
docs #99557 (Editrustc_index::vec::IndexVec::pick3_mut
docs)remap_constness
#99558 (Fixremap_constness
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup