-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
shrinking the deprecated method span #85617
Conversation
@estebank Could you please take a look? Thanks! |
@bors r+ |
📌 Commit 957e2ef has been approved by |
shrinking the deprecated method span part of rust-lang#85403 r? `@estebank`
☀️ Test successful - checks-actions |
FYI, this PR causes invalid warnings in some cases, causing build issues for some projects. Please take a look at #86000, which includes an MCVE to see what I'm referring to. Thanks! |
…ix, r=Mark-Simulacrum Revert "shrinking the deprecated method span" Reverts rust-lang#85617 Fixes: rust-lang#86000 r? `@Mark-Simulacrum`
@hi-rustin This got reverted and will need to be re-landed after addressing the invalid warning. |
Thanks, I will try to fix it. |
@estebank Do you have any thoughts on this issue? Maybe we should judge in the visit_path that only the method is processed? But I'm not sure how to determine if a segment is a method or not. |
You might be able to "just" look at the |
…tebank shrinking the deprecated span ref: rust-lang#85617 (comment) part of rust-lang#85403 r? `@estebank` The reason is that if we use method_span directly, it will cause the in_derive_expansion judgment to fail.
part of #85403
r? @estebank