-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
merge as_local_hir_id
with local_def_id_to_hir_id
#75448
Conversation
Some changes occurred in intra-doc-links. cc @jyn514 |
r? @davidtwco (rust_highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
src/test/ui/__check/what.rs
Outdated
@@ -0,0 +1,11 @@ | |||
// check-pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the new test?
@bors r+ |
📌 Commit ffda53f has been approved by |
merge `as_local_hir_id` with `local_def_id_to_hir_id` `as_local_hir_id` was defined as just calling `local_def_id_to_hir_id` and I think that having two different ways to call the same method is somewhat confusing. Don't really care about which of these 2 methods we want to keep. Does this require an MCP, considering that these methods are fairly frequently used?
@bors r- I didn't intend to add this test here, will remove it 😅 |
ffda53f
to
4769db0
Compare
4769db0
to
cd53760
Compare
ok, should be fixed |
@bors r=davidtwco |
This comment has been minimized.
This comment has been minimized.
📌 Commit cd53760 has been approved by |
Rollup of 4 pull requests Successful merges: - rust-lang#75376 (Set CMAKE_SYSTEM_NAME when cross-compiling) - rust-lang#75448 (merge `as_local_hir_id` with `local_def_id_to_hir_id`) - rust-lang#75513 (Recover gracefully from `struct` parse errors) - rust-lang#75545 (std/sys/unix/time: make it easier for LLVM to optimize `Instant` subtraction.) Failed merges: - rust-lang#75514 (Replaced `log` with `tracing`) r? @ghost
as_local_hir_id
was defined as just callinglocal_def_id_to_hir_id
and I think that having two different ways to call the same method is somewhat confusing.Don't really care about which of these 2 methods we want to keep.
Does this require an MCP, considering that these methods are fairly frequently used?