-
Notifications
You must be signed in to change notification settings - Fork 13k
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 9 pull requests #103322
Rollup of 9 pull requests #103322
Conversation
- Make the structure of the two variants more similar. - Add some comments. - Move various conditional `use` items inside the function that uses them. - Inline some closures.
It took me a while to work this out.
…s input vs output
Fix `SelfVisitor::is_self_ty` ICE Fixes rust-lang#103202
Clarify startup A small follow-up to rust-lang#102769. r? `@jyn514`
Adjust `transmute{,_copy}` to be clearer about which of `T` and `U` is input vs output This is essentially a documentation-only change (although it does touch code in an irrelevant way).
Fixed docs typo in `library/std/src/time.rs` * Changed comment from `Previous rust versions panicked when self was earlier than the current time.` to `Previous rust versions panicked when the current time was earlier than self.` * Resolves rust-lang#103282.
…rtcuts, r=notriddle +/- shortcut now only expand/collapse, not both Fixes rust-lang#102772. r? ```@notriddle```
Don't label `src/test` tests as `A-testsuite` Nearly every PR modifies `src/test`; A-testsuite is meant to be for things affecting the test runners themselves. cc rust-lang#103204 (comment) r? `@jyn514`
…r=bjorn3 interpret: remove an incorrect assertion This fixes an ICE in Miri, [reported](https://rust-lang.zulipchat.com/#narrow/stream/269128-miri/topic/SwitchInt.20with.20no.20targets.3F) by `@saethlin.` The faulty assertion was introduced by rust-lang@432535d, when a previously correct assertion checking that the `otherwise` target exists got replaced by this assertion checking that at least one more target beyond `otherwise` exists. Sadly we don't have a small reproducer so I don't think we can easily add a testcase.
…nst_msg, r=oli-obk Improve "`~const` is not allowed here" message r? `@oli-obk`
@bors r+ rollup=never p=9 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: 5ffa67d730 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (dcb3761): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesThis benchmark run did not return any relevant results for this metric. |
Successful merges:
SelfVisitor::is_self_ty
ICE #103221 (FixSelfVisitor::is_self_ty
ICE)transmute{,_copy}
to be clearer about which ofT
andU
is input vs output #103281 (Adjusttransmute{,_copy}
to be clearer about which ofT
andU
is input vs output)library/std/src/time.rs
#103288 (Fixed docs typo inlibrary/std/src/time.rs
)src/test
tests asA-testsuite
#103313 (Don't labelsrc/test
tests asA-testsuite
)~const
is not allowed here" message #103319 (Improve "~const
is not allowed here" message)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup