-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rollup of 5 pull requests #105892
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rollup of 5 pull requests #105892
Conversation
filter_next needless_question_mark bind_instead_of_map manual_find derivable_impls map_identity redundant_slicing skip_while_next unnecessary_unwrap needless_bool
Use `expose_addr()` in `fmt::Pointer` Discussion in https://rust-lang.zulipchat.com/#narrow/stream/136281-t-lang.2Fwg-unsafe-code-guidelines/topic/Should.20.60fmt.3A.3APointer.60.20expose.20the.20argument.3F on whether or not we should do this (still undecided). CC `@RalfJung`
…, r=lcnr Suggest a `T: Send` bound for `&mut T` upvars in `Send` generators Right now, we suggest a `T: Sync` bound for both `&T` and `&mut T` upvars. A user on URLO [found this confusing](https://users.rust-lang.org/t/error-complains-about-missing-sync-but-send-is-whats-missing/86021), so I wrote this quick fix to look at the mutability before making the suggestion.
clippy::complexity fixes filter_next needless_question_mark bind_instead_of_map manual_find derivable_impls map_identity redundant_slicing skip_while_next unnecessary_unwrap needless_bool r? `@compiler-errors`
…ckh726 Don't ICE in closure arg borrow suggestion Fixes rust-lang#105832
Fix `uninlined_format_args` in libtest Done using clippy with a quick manual review.
@bors r+ rollup=never p=5 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: 1072337890 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (4653c93): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
|
Note for perf triage: these results are noise and stabilized away on the following commit. |
Successful merges:
expose_addr()
infmt::Pointer
#105682 (Useexpose_addr()
infmt::Pointer
)T: Send
bound for&mut T
upvars inSend
generators #105839 (Suggest aT: Send
bound for&mut T
upvars inSend
generators)uninlined_format_args
in libtest #105889 (Fixuninlined_format_args
in libtest)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup