-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rollup of 4 pull requests #98307
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 4 pull requests #98307
Conversation
Magic value 3 is used to create state for a yield point. It is in fact the number of reserved variants. Lift RESERVED_VARIANTS out to module scope and use it instead.
Signed-off-by: Yuki Okushi <[email protected]>
…vidtwco Drop magic value 3 from code Magic value 3 is used to create state for a yield point. It is in fact the number of reserved variants. Lift RESERVED_VARIANTS out to module scope and use it instead.
…m, r=oli-obk Don't omit comma when suggesting wildcard arm after macro expr * Also adds `Span::eq_ctxt` to consolidate the various usages of `span.ctxt() == other.ctxt()` * Also fixes an unhygenic usage of spans which caused the suggestion to render weirdly when we had one arm match in a macro * Also always suggests a comma (i.e. even after a block) if we're rendering a wildcard arm in a single-line match (looks prettier 🌹) Fixes rust-lang#94866
… r=oli-obk Mention formatting macros when encountering `ArgumentV1` method in const Also open to just closing this if it's overkill. There are a lot of other distracting error messages around, so maybe it's not worth fixing just this one. Fixes rust-lang#93665
…ink, r=Dylan-DPC Add a link to the unstable book page on Generator doc comment This makes it easier to jump into the Generator section on the unstable book. Signed-off-by: Yuki Okushi <[email protected]>
@bors r+ rollup=never p=4 |
📌 Commit dfa933d has been approved by |
⌛ Testing commit dfa933d with merge fa211a74eefaa746ebd3dcd6d039c94bd4fed7b8... |
☀️ Test successful - checks-actions |
Finished benchmarking commit (0887113): 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. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Footnotes |
Successful merges:
ArgumentV1
method in const #98276 (Mention formatting macros when encounteringArgumentV1
method in const)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup