-
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 6 pull requests #100569
Rollup of 6 pull requests #100569
Conversation
Instead of a FxHashMap<Symbol, (usize, Span)> for the named arguments, this now includes the name and span in the elements of the Vec<FormatArg> directly. The FxHashMap still exists to look up the index, but no longer contains the span. Looking up the name or span of an argument is now trivial and does not need the map anymore.
…haelwoerister Refuse to codegen an upstream static. Fixes rust-lang#85401
…errors Simplify format_args builtin macro implementation. Instead of a FxHashMap<Symbol, (usize, Span)> for the named arguments, this now includes the name and span in the elements of the Vec<FormatArg> directly. The FxHashMap still exists to look up the index, but no longer contains the span. Looking up the name or span of an argument is now trivial and does not need the map anymore.
…n-too, r=jyn514 Point to generic or arg if it's the self type of unsatisfied projection predicate We do this for `TraitPredicate`s in `point_at_type_arg_instead_of_call_if_possible` and `point_at_arg_instead_of_call_if_possible`, so also do it for `ProjectionPredicate`. Improves spans for a lot of unit tests.
change `InlineAsmCtxt` to not talk about `FnCtxt` wip for rust-lang/compiler-team#529. this currently uses both the `FnCtxt` and is used by `check_mod_item_types`. This should be the only thing blocking that MCP afaict. I am still unsure whether `rustc_hir_typeck` should depend on `rustc_hir_analysis` to use the `InlineAsmCtxt`. I think that's the best solution for now, so that's what I will go for r? `@compiler-errors`
…ompiler-errors Make code slightly more uniform
…agnostic, r=cjgillot Use `create_snapshot_for_diagnostic` instead of `clone` for `Parser` follow-up to rust-lang#98020
@bors r+ rollup=never p=6 |
⌛ Testing commit fece511 with merge c318a7dcd1175b542d663fd01953f28eb96dd51c... |
💥 Test timed out |
@bors retry |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (9b4ea39): comparison url. Instruction countThis benchmark run did not return any relevant results for this metric. 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 |
Successful merges:
InlineAsmCtxt
to not talk aboutFnCtxt
#100506 (changeInlineAsmCtxt
to not talk aboutFnCtxt
)create_snapshot_for_diagnostic
instead ofclone
forParser
#100566 (Usecreate_snapshot_for_diagnostic
instead ofclone
forParser
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup