-
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
shrinking the deprecated span #86320
Conversation
@@ -226,18 +226,19 @@ fn late_report_deprecation( | |||
suggestion: Option<Symbol>, | |||
lint: &'static Lint, | |||
span: Span, | |||
method_span: Option<Span>, |
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.
Maybe it's not a suitable name for now. But I'm not quite sure what to rename it.
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.
Same.
@estebank Ping~ Could you please take a look? I would be very grateful. |
@bors r+ |
📌 Commit 8c5938d has been approved by |
☀️ Test successful - checks-actions |
ref: #85617 (comment)
part of #85403
r? @estebank
The reason is that if we use method_span directly, it will cause the in_derive_expansion judgment to fail.