-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rp.is_none ICE when using 'self lifetime name inappropriately(?) #6396
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
This is due to the incomplete implementation of #4846. Hoping to patch that up Real Soon Now. |
I just ran into this issue, turning an |
Closed by #10153, relevant tests already appear to be checked in. |
@alexcrichton are the tests enabled? I didn't check them in, at least. |
Hm, I assumed that this just was all folded into not treating the |
I don't think a specific test is needed, there are tests for invalid lifetime names in the named lifetime resolver. |
Rustup? Basically a rustup from an unknown source. I added a regression test (and slightly changed the lint), so this'll need a review. changelog: Fix bug in [`items_after_statements`] wher it triggered, if items were separated by trailing semicolons.
This works fine (but doesn't do much) if we s/'self/'x/g. As-is, on my system, I get this result from compiling:
The text was updated successfully, but these errors were encountered: