-
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 5 pull requests #97989
Rollup of 5 pull requests #97989
Conversation
…al-path=no` The test relies on library/std/src/error.rs not corresponding to a local path, but remapping might still find the related local file of a remapped path. To fix the test, this adds a new -Z flag to disable finding the corresponding local path of a remapped path.
validating the vtable can lead to Stacked Borrows errors Fixes rust-lang/miri#2123
…r=cjgillot Fix rust-lang#71363's test by adding `-Z translate-remapped-path-to-local-path=no` The test relies on `library/std/src/error.rs` not corresponding to a local path, but remapping might still find the related local file of a remapped path. To fix the test, this PR adds a new `-Z` flag to disable finding the corresponding local path of a remapped path.
…r-id, r=nikomatsakis Wrap `HirId`s of locals into `LocalVarId`s for THIR nodes This is the first effort to decouple `HirId`s from THIR. `HirId` is not very relevant in building THIR and MIR. Based on the changeset, I think there are a few other pending refactoring that we could perform after this, in case we want to eliminate use of `HirId` in THIR. - `TypeckResults::closure_min_captures` could be remapped from the variable `HirId`s to `LocalVarId` while the THIR is getting built. - Use of `ScopeTree::var_scope` could be eliminated as well, since we will consider deprecating `ScopeTree` in the future.
Fix typos in Provider API docs
…acro, r=Dylan-DPC remove an unnecessary `String`
@bors r+ rollup=never p=5 |
📌 Commit b3c9a2f has been approved by |
⌛ Testing commit b3c9a2f with merge 9599982dfac048670a6828e86237ae9cf8e85af0... |
💔 Test failed - checks-actions |
@bors retry (spurious) |
☀️ Test successful - checks-actions |
Finished benchmarking commit (85a26a9): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesThis benchmark run did not return any relevant results for this metric. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
Successful merges:
-Z translate-remapped-path-to-local-path=no
#97789 (Fix Regression in spacing of left margin in diagnostics #71363's test by adding-Z translate-remapped-path-to-local-path=no
)HirId
s of locals intoLocalVarId
s for THIR nodes #97913 (WrapHirId
s of locals intoLocalVarId
s for THIR nodes)String
#97987 (remove an unnecessaryString
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup