-
Notifications
You must be signed in to change notification settings - Fork 13.4k
error parsing lifetime following by Sized and message + between them #103020
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
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @wesleywiser (or someone else) soon. Please see the contribution instructions for more information. |
d4551ac
to
3b5e9e9
Compare
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.
I still don't know if this code should live in parse_param_general
-- it seems like a very specific place to put this fix, so similar typos still don't have a suggestion, both in different positions (e.g. return position) and similar in nature (e.g. impl Sized 'a
)
3b5e9e9
to
62a284b
Compare
at least |
62a284b
to
df608e4
Compare
since you're already looking at 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.
Sorry I have neglected reviewing this.
I'm still not convinced this is worth the extra code, since it's not as general as I would like it to be -- but that's just my opinion, and I'd rather not continue accidentally blocking this PR since I've been distracted.
Let's get someone else's opinion on this. Sorry again about letting this PR sit around for so long, totally my fault. r? compiler |
Thanks Michael. Your suggestions are really helpful. I'll investigate more. |
detect the pattern at the general site parse_impl_ty() this will fix rust-lang#102598
df608e4
to
419df5f
Compare
I think you're right, the code shouldn't be in |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (58f5a01): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
error parsing lifetime following by Sized and message + between them Fixes rust-lang#102598
Fixes #102598